From: Alan T. DeKok Date: Thu, 20 Jun 2024 09:49:22 +0000 (-0400) Subject: fix typos. Fixes #5344 X-Git-Tag: release_3_2_5~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f5cf14e7ef97c8fc52d51c881bb13f5b2600b8;p=thirdparty%2Ffreeradius-server.git fix typos. Fixes #5344 --- diff --git a/src/lib/packet.c b/src/lib/packet.c index f25de1096ce..0f870f514ee 100644 --- a/src/lib/packet.c +++ b/src/lib/packet.c @@ -1090,7 +1090,7 @@ void fr_packet_header_print(FILE *fp, RADIUS_PACKET *packet, bool received) * This really belongs in a utility library */ if (is_radius_code(packet->code)) { - fprintf(fp, "%s %s Id %i from %s%s%s:%x to %s%s%s:%u length %zu\n", + fprintf(fp, "%s %s Id %i from %s%s%s:%u to %s%s%s:%u length %zu\n", received ? "Received" : "Sent", fr_packet_codes[packet->code], packet->id, @@ -1108,7 +1108,7 @@ void fr_packet_header_print(FILE *fp, RADIUS_PACKET *packet, bool received) packet->dst_port, packet->data_len); } else { - fprintf(fp, "%s code %u Id %i from %s%s%s:%u to %s%s%s:%i length %zu\n", + fprintf(fp, "%s code %u Id %i from %s%s%s:%u to %s%s%s:%u length %zu\n", received ? "Received" : "Sent", packet->code, packet->id,