]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ntp.c
Have ip{6}addr_string take a u_char * as the second argument.
[tcpdump] / print-ntp.c
index 257b65e80aafcc65ab15991828bcd76ec95ee44c..7643ade1bb6f7a82080bd04ea5149bd8921b500e 100644 (file)
@@ -305,12 +305,12 @@ ntp_time_print(netdissect_options *ndo,
                break;
 
        case INFO_QUERY:
-               ND_PRINT("%s INFO_QUERY", ipaddr_string(ndo, &(bp->refid)));
+               ND_PRINT("%s INFO_QUERY", ipaddr_string(ndo, bp->refid));
                /* this doesn't have more content */
                return;
 
        case INFO_REPLY:
-               ND_PRINT("%s INFO_REPLY", ipaddr_string(ndo, &(bp->refid)));
+               ND_PRINT("%s INFO_REPLY", ipaddr_string(ndo, bp->refid));
                /* this is too complex to be worth printing */
                return;