diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-10-06 17:32:28 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-10-06 17:32:28 +0200 |
commit | 1c75daed55fcbff08e460b97605701ab0115f50b (patch) | |
tree | 158c2e5d0a2a1596629787b1390f90f99ec2677e /print-mptcp.c | |
parent | c4d90f05e93824e718d4c71b7bda60fcbd4d9341 (diff) | |
download | tcpdump-1c75daed55fcbff08e460b97605701ab0115f50b.tar.gz |
MPTCP: Use %u for an unsigned value
Diffstat (limited to 'print-mptcp.c')
-rw-r--r-- | print-mptcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-mptcp.c b/print-mptcp.c index 77c26dc2..69240085 100644 --- a/print-mptcp.c +++ b/print-mptcp.c @@ -201,10 +201,10 @@ mp_capable_print(netdissect_options *ndo, switch (MP_CAPABLE_OPT_VERSION(mpc->sub_ver)) { case 0: /* fall through */ case 1: - ND_PRINT(" v%d", MP_CAPABLE_OPT_VERSION(mpc->sub_ver)); + ND_PRINT(" v%u", MP_CAPABLE_OPT_VERSION(mpc->sub_ver)); break; default: - ND_PRINT(" Unknown Version (%d)", + ND_PRINT(" Unknown Version (%u)", MP_CAPABLE_OPT_VERSION(mpc->sub_ver)); return 1; } |