Skip to content

Commit

Permalink
fix typos. Fixes #5344
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jun 20, 2024
1 parent 4dd3c2c commit 59f5cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 59f5cf1

Please sign in to comment.