]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan-gpe.c
Rename EXTRACT_ macros
[tcpdump] / print-vxlan-gpe.c
index 08ef285fa7d45f43df318df0270cad4592885112..71c517baf7e084fa50ded27d7acd22f96b438afc 100644 (file)
@@ -75,7 +75,7 @@ vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len)
     next_protocol = *bp;
     bp += 1;
 
-    vni = EXTRACT_BE_24BITS(bp);
+    vni = EXTRACT_BE_U_3(bp);
     bp += 4;
 
     ND_PRINT((ndo, "VXLAN-GPE, "));