From 1c75daed55fcbff08e460b97605701ab0115f50b Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 6 Oct 2020 17:32:28 +0200 Subject: MPTCP: Use %u for an unsigned value --- print-mptcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-mptcp.c') 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; } -- cgit v1.2.1