]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nfs.c
Makefile.in: don't remove configure and config.h.in in make distclean.
[tcpdump] / print-nfs.c
index 20b0cfcef4d8260537b2a3aa690c7cd88b9dab87..c90eadbd2fa03fbc69af0b667332439e218ad19a 100644 (file)
@@ -198,7 +198,7 @@ static const struct tok sunrpc_str[] = {
 };
 
 static void
-print_nfsaddr(netdissect_options *ndo,
+nfsaddr_print(netdissect_options *ndo,
               const u_char *bp, const char *s, const char *d)
 {
        const struct ip *ip;
@@ -349,7 +349,7 @@ nfsreply_print(netdissect_options *ndo,
                snprintf(dstid, sizeof(dstid), "%u",
                    GET_BE_U_4(rp->rm_xid));
        }
-       print_nfsaddr(ndo, bp2, srcid, dstid);
+       nfsaddr_print(ndo, bp2, srcid, dstid);
 
        nfsreply_noaddr_print(ndo, bp, length, bp2);
 }
@@ -906,7 +906,7 @@ nfs_printfh(netdissect_options *ndo,
                /* Print the undecoded handle */
                ND_PRINT("%s", fsid.Opaque_Handle);
        else
-               ND_PRINT("%ld", (long) ino);
+               ND_PRINT("%u", ino);
 }
 
 /*