]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vxlan.c
Rename EXTRACT_ macros
[tcpdump] / print-vxlan.c
index a3de7b30fcb8d29c80a033a500eae84f2f141d6a..1a7635fdd9cc664b7cde1c26161c096c2b0ca26e 100644 (file)
@@ -58,7 +58,7 @@ vxlan_print(netdissect_options *ndo, const u_char *bp, u_int len)
     flags = *bp;
     bp += 4;
 
     flags = *bp;
     bp += 4;
 
-    vni = EXTRACT_BE_24BITS(bp);
+    vni = EXTRACT_BE_U_3(bp);
     bp += 4;
 
     ND_PRINT((ndo, "VXLAN, "));
     bp += 4;
 
     ND_PRINT((ndo, "VXLAN, "));