X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/090254b2d83f44110bccd3a9939aeae5ae2301bf..95eb1b3c936a2cb585f5ca16a76a8e05f83fea87:/print-nfs.c diff --git a/print-nfs.c b/print-nfs.c index f3e8666e..2118a963 100644 --- a/print-nfs.c +++ b/print-nfs.c @@ -870,7 +870,7 @@ xid_map_enter(netdissect_options *ndo, const struct ip6_hdr *ip6 = NULL; struct xid_map_entry *xmep; - if (!ND_TTEST(rp->rm_call.cb_vers)) + if (!ND_TTEST(rp->rm_call.cb_proc)) return (0); switch (IP_V((const struct ip *)bp)) { case 4: @@ -1568,8 +1568,8 @@ interp_reply(netdissect_options *ndo, tok2str(nfsv3_writemodes, NULL, EXTRACT_32BITS(&dp[1])))); } - return; } + return; } else { if (parseattrstat(ndo, dp, ndo->ndo_vflag, v3) != 0) return; @@ -1655,8 +1655,8 @@ interp_reply(netdissect_options *ndo, ND_PRINT((ndo, " dir:")); if (!(dp = parse_wcc_data(ndo, dp, ndo->ndo_vflag))) break; - return; } + return; } else { if (parsestatus(ndo, dp, &er) != NULL) return;