X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/001fc8411f90713c3495a1f3fcf8c67dbd3afa1b..39d15607cad1b4b463794c1a67873f6182dc52f7:/print-vxlan.c diff --git a/print-vxlan.c b/print-vxlan.c index 80344634..3ef9cf6a 100644 --- a/print-vxlan.c +++ b/print-vxlan.c @@ -24,9 +24,6 @@ #include "interface.h" #include "extract.h" -#include "addrtoname.h" - -#include "udp.h" /* * VXLAN header, draft-mahalingam-dutt-dcops-vxlan-03 @@ -37,7 +34,7 @@ * |R|R|R|R|I|R|R|R| Reserved | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | VXLAN Network Identifier (VNI) | Reserved | - * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ void @@ -45,7 +42,7 @@ vxlan_print(const u_char *bp, u_int len) { u_int8_t flags; u_int32_t vni; - + if (len < 8) { printf("[|VXLAN]"); return;