]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ntp.c
PIM: refresh and use tok2str()
[tcpdump] / print-ntp.c
index 5dd0e240bf0024424d50390a3577f338bbc6c921..93268ac017b50b024d98cb93a156df099cbdc81f 100644 (file)
@@ -266,17 +266,17 @@ ntp_print(netdissect_options *ndo,
                break;
 
        case INFO_QUERY:
-               ND_PRINT((ndo, "%s INFO_QUERY", ipaddr_string(&(bp->refid))));
+               ND_PRINT((ndo, "%s INFO_QUERY", ipaddr_string(ndo, &(bp->refid))));
                /* this doesn't have more content */
                return;
 
        case INFO_REPLY:
-               ND_PRINT((ndo, "%s INFO_REPLY", ipaddr_string(&(bp->refid))));
+               ND_PRINT((ndo, "%s INFO_REPLY", ipaddr_string(ndo, &(bp->refid))));
                /* this is too complex to be worth printing */
                return;
 
        default:
-               ND_PRINT((ndo, "%s", ipaddr_string(&(bp->refid))));
+               ND_PRINT((ndo, "%s", ipaddr_string(ndo, &(bp->refid))));
                break;
        }