X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a5830b4314e8723bfbf1f5f864f8f352671f7e15..d7b497cac78b6e22a66a6bae9bdec60a8044f67a:/print-vxlan-gpe.c?ds=sidebyside diff --git a/print-vxlan-gpe.c b/print-vxlan-gpe.c index 336eb66d..71c517ba 100644 --- a/print-vxlan-gpe.c +++ b/print-vxlan-gpe.c @@ -75,7 +75,7 @@ vxlan_gpe_print(netdissect_options *ndo, const u_char *bp, u_int len) next_protocol = *bp; bp += 1; - vni = EXTRACT_24BITS(bp); + vni = EXTRACT_BE_U_3(bp); bp += 4; ND_PRINT((ndo, "VXLAN-GPE, "));