]> The Tcpdump Group git mirrors - tcpdump/commitdiff
MPTCP: Fix terminating a 'struct tok' array
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 8 Oct 2020 12:05:54 +0000 (14:05 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 8 Oct 2020 12:08:00 +0000 (14:08 +0200)
print-mptcp.c

index 69240085015c76ed8534f22267978597067899f0..317f744ca46ccb9c3fc28d6081bdd9e26a1db07e 100644 (file)
@@ -117,7 +117,8 @@ static const struct tok mptcp_addr_subecho_bits[] = {
         { 0x6, "v0-ip6" },
         { 0x4, "v0-ip4" },
         { 0x1, "v1-echo" },
-        { 0x0, "v1" }
+        { 0x0, "v1" },
+        { 0, NULL }
 };
 
 struct mp_add_addr {