]> The Tcpdump Group git mirrors - tcpdump/commitdiff
VXLAN-GPE: Update to I-D revision 10.
authorDenis Ovsienko <[email protected]>
Sat, 17 Oct 2020 13:11:33 +0000 (14:11 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 17 Oct 2020 16:52:29 +0000 (17:52 +0100)
print-vxlan-gpe.c

index d7a80f25dfdb83e64659320e41b35d6efae8fa8e..309f65c76d9563213827b9606d16f887a3af20a5 100644 (file)
@@ -23,7 +23,7 @@
 
 /* \summary: Generic Protocol Extension for VXLAN (VXLAN GPE) printer */
 
-/* specification: draft-ietf-nvo3-vxlan-gpe-01 */
+/* specification: draft-ietf-nvo3-vxlan-gpe-10 */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -37,6 +37,7 @@
 static const struct tok vxlan_gpe_flags [] = {
     { 0x08, "I" },
     { 0x04, "P" },
+    { 0x02, "B" },
     { 0x01, "O" },
     { 0, NULL }
 };
@@ -97,9 +98,6 @@ vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len)
     case 0x4:
         nsh_print(ndo, bp, len - VXLAN_GPE_HDR_LEN);
         break;
-    case 0x5:
-        mpls_print(ndo, bp, len - VXLAN_GPE_HDR_LEN);
-        break;
     default:
         ND_PRINT("ERROR: unknown-next-protocol");
         return;