summaryrefslogtreecommitdiff
path: root/print-pppoe.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-pppoe.c
parent6c964291f360ff03c7947693957e51e880d34ee7 (diff)
downloadtcpdump-64677b0d78ff168d98c3035e894c4910c021136e.tar.gz
Clean up signed vs. unsigned.
Diffstat (limited to 'print-pppoe.c')
-rw-r--r--print-pppoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-pppoe.c b/print-pppoe.c
index 189e1b8a..b05c7a6c 100644
--- a/print-pppoe.c
+++ b/print-pppoe.c
@@ -112,10 +112,10 @@ pppoe_print(netdissect_options *ndo, const u_char *bp, u_int length)
pppoe_payload = pppoe_packet + PPPOE_HDRLEN;
if (pppoe_ver != 1) {
- ND_PRINT(" [ver %d]",pppoe_ver);
+ ND_PRINT(" [ver %u]",pppoe_ver);
}
if (pppoe_type != 1) {
- ND_PRINT(" [type %d]",pppoe_type);
+ ND_PRINT(" [type %u]",pppoe_type);
}
ND_PRINT("PPPoE %s", tok2str(pppoecode2str, "PAD-%x", pppoe_code));