diff options
author | Michael Richardson <mcr@sandelman.ca> | 2013-03-24 17:49:18 -0400 |
---|---|---|
committer | Michael Richardson <mcr@sandelman.ca> | 2013-03-24 17:49:18 -0400 |
commit | 624c208a6b5da63a928c08426065fe89ea68c947 (patch) | |
tree | ec325cafcbfe715b8b6c5e3e16bd7bdca5b5f195 /print-udp.c | |
parent | a7820fc2ab7a1075ac70923051dcf071a82138a1 (diff) | |
parent | 8117cc7e3db0a18f7a64882a754419947d9f6d17 (diff) | |
download | tcpdump_4_4rel0.tar.gz |
Merge remote-tracking branch 'origin/master' into tcpdump_4_4rel0tcpdump_4_4rel0tcpdump-4.4.0
Diffstat (limited to 'print-udp.c')
-rw-r--r-- | print-udp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/print-udp.c b/print-udp.c index e321f218..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,6 +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(OTV_PORT)) + otv_print((const u_char *)(up + 1), length); else (void)printf("UDP, length %u", (u_int32_t)(ulen - sizeof(*up))); |