X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d268291346793835a3ba1550caf4ba0b990d1cf5..47fc89d711eec0a073d9b3b293a1af901b5bd791:/print-vxlan.c diff --git a/print-vxlan.c b/print-vxlan.c index 2e5433e3..16e08700 100644 --- a/print-vxlan.c +++ b/print-vxlan.c @@ -33,20 +33,19 @@ * * 0 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 - * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * |R|R|R|R|I|R|R|R| Reserved | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | VXLAN Network Identifier (VNI) | Reserved | - * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ void -vxlan_print(const u_char *bp, u_int len, u_int port) +vxlan_print(const u_char *bp, u_int len) { u_int8_t flags; u_int32_t vni; - + if (len < 8) { printf("[|VXLAN]"); return;