From 3fcff2b3624f42483cc059810da785e03368d08e Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 8 Sep 2015 13:45:32 -0400 Subject: [PATCH] packet->proto is int, not unsigned int --- src/lib/radius.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/radius.c b/src/lib/radius.c index 0d8ba8439c..71f38a4df6 100644 --- a/src/lib/radius.c +++ b/src/lib/radius.c @@ -192,7 +192,7 @@ void rad_print_hex(RADIUS_PACKET *packet) fprintf(fr_log_fp, " Socket:\t%d\n", packet->sockfd); #ifdef WITH_TCP - fprintf(fr_log_fp, " Proto:\t%u\n", packet->proto); + fprintf(fr_log_fp, " Proto:\t%d\n", packet->proto); #endif if (packet->src_ipaddr.af == AF_INET) { -- 2.47.3