X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/769d730e80f9f6c0cac9e4948e5f8225b079d27b..318ecd24c592f77ddf5905a0717bf3eada02b765:/print-udp.c diff --git a/print-udp.c b/print-udp.c index 00f73f79..3c5ed8bc 100644 --- a/print-udp.c +++ b/print-udp.c @@ -474,6 +474,11 @@ udp_print(register const u_char *bp, u_int length, udpipaddr_print(ip, sport, dport); radius_print(cp, length); break; + + case PT_VXLAN: + udpipaddr_print(ip, sport, dport); + vxlan_print((const u_char *)(up + 1), length); + break; } return; } @@ -663,8 +668,8 @@ udp_print(register const u_char *bp, u_int length, sip_print((const u_char *)(up + 1), length); else if (ISPORT(SYSLOG_PORT)) syslog_print((const u_char *)(up + 1), length); - else if (ISPORT(VXLAN_PORT)) - vxlan_print((const u_char *)(up + 1), length); + else if (ISPORT(OTV_PORT)) + otv_print((const u_char *)(up + 1), length); else (void)printf("UDP, length %u", (u_int32_t)(ulen - sizeof(*up)));