summaryrefslogtreecommitdiff
path: root/print-rt6.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-rt6.c
parent6c964291f360ff03c7947693957e51e880d34ee7 (diff)
downloadtcpdump-64677b0d78ff168d98c3035e894c4910c021136e.tar.gz
Clean up signed vs. unsigned.
Diffstat (limited to 'print-rt6.c')
-rw-r--r--print-rt6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-rt6.c b/print-rt6.c
index 684eac40..8cf5b098 100644
--- a/print-rt6.c
+++ b/print-rt6.c
@@ -77,7 +77,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
if ((const u_char *)(addr + 1) > ep)
goto trunc;
- ND_PRINT(", [%d]%s", i, ip6addr_string(ndo, addr));
+ ND_PRINT(", [%u]%s", i, ip6addr_string(ndo, addr));
addr++;
}
/*(*/
@@ -106,7 +106,7 @@ rt6_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_)
if ((const u_char *)(addr + 1) > ep)
goto trunc;
- ND_PRINT(", [%d]%s", i, ip6addr_string(ndo, addr));
+ ND_PRINT(", [%u]%s", i, ip6addr_string(ndo, addr));
addr++;
}
/*(*/