summaryrefslogtreecommitdiff
path: root/print-sunrpc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-11 11:52:30 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-11 11:52:30 -0800
commit64677b0d78ff168d98c3035e894c4910c021136e (patch)
treecc8e70d60eb94840ed27b65275619ecc441d9714 /print-sunrpc.c
parent6c964291f360ff03c7947693957e51e880d34ee7 (diff)
downloadtcpdump-64677b0d78ff168d98c3035e894c4910c021136e.tar.gz
Clean up signed vs. unsigned.
Diffstat (limited to 'print-sunrpc.c')
-rw-r--r--print-sunrpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-sunrpc.c b/print-sunrpc.c
index dc08a2df..4129f8ab 100644
--- a/print-sunrpc.c
+++ b/print-sunrpc.c
@@ -182,18 +182,18 @@ sunrpc_print(netdissect_options *ndo, const u_char *bp,
switch (IP_V((const struct ip *)bp2)) {
case 4:
ip = (const struct ip *)bp2;
- ND_PRINT("%s.%s > %s.%s: %d",
+ ND_PRINT("%s.%s > %s.%s: %u",
ipaddr_string(ndo, &ip->ip_src), srcid,
ipaddr_string(ndo, &ip->ip_dst), dstid, length);
break;
case 6:
ip6 = (const struct ip6_hdr *)bp2;
- ND_PRINT("%s.%s > %s.%s: %d",
+ ND_PRINT("%s.%s > %s.%s: %u",
ip6addr_string(ndo, &ip6->ip6_src), srcid,
ip6addr_string(ndo, &ip6->ip6_dst), dstid, length);
break;
default:
- ND_PRINT("%s.%s > %s.%s: %d", "?", srcid, "?", dstid, length);
+ ND_PRINT("%s.%s > %s.%s: %u", "?", srcid, "?", dstid, length);
break;
}