summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-mptcp.c4
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;
}