]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nfs.c
the failed/passed count was not kept in the right place
[tcpdump] / print-nfs.c
index 76bbfd3e9914113e16b981ab564e84463d51a381..e660a706168c91eae3b8eba3f0cdc0ab1843f08c 100644 (file)
@@ -357,11 +357,11 @@ nfsreply_print(netdissect_options *ndo,
        ND_TCHECK_4(rp->rm_xid);
        if (!ndo->ndo_nflag) {
                strlcpy(srcid, "nfs", sizeof(srcid));
-               nd_snprintf(dstid, sizeof(dstid), "%u",
+               snprintf(dstid, sizeof(dstid), "%u",
                    GET_BE_U_4(rp->rm_xid));
        } else {
-               nd_snprintf(srcid, sizeof(srcid), "%u", NFS_PORT);
-               nd_snprintf(dstid, sizeof(dstid), "%u",
+               snprintf(srcid, sizeof(srcid), "%u", NFS_PORT);
+               snprintf(dstid, sizeof(dstid), "%u",
                    GET_BE_U_4(rp->rm_xid));
        }
        print_nfsaddr(ndo, bp2, srcid, dstid);