diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-08 15:28:13 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2014-03-08 16:30:30 +0400 |
commit | 0b08cf5378648279efb96ecf03ea2e3f75bc4eff (patch) | |
tree | 246bfb0878f4b8ba49dd1403188a2a1f49296dc4 /print-udp.c | |
parent | 374aad6c0ea6d12ac4316ead82bb78fc3ff5e05d (diff) | |
download | tcpdump-0b08cf5378648279efb96ecf03ea2e3f75bc4eff.tar.gz |
NDOize AHCP, OTV and VXLAN decoders
Diffstat (limited to 'print-udp.c')
-rw-r--r-- | print-udp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-udp.c b/print-udp.c index 2bddae9c..2ff6d824 100644 --- a/print-udp.c +++ b/print-udp.c @@ -472,7 +472,7 @@ udp_print(register const u_char *bp, u_int length, case PT_VXLAN: udpipaddr_print(ip, sport, dport); - vxlan_print((const u_char *)(up + 1), length); + vxlan_print(gndo, (const u_char *)(up + 1), length); break; case PT_PGM: @@ -627,7 +627,7 @@ udp_print(register const u_char *bp, u_int length, else if (ISPORT(DHCP6_SERV_PORT) || ISPORT(DHCP6_CLI_PORT)) dhcp6_print((const u_char *)(up + 1), length); else if (ISPORT(AHCP_PORT)) - ahcp_print((const u_char *)(up + 1), length); + ahcp_print(gndo, (const u_char *)(up + 1), length); else if (ISPORT(BABEL_PORT) || ISPORT(BABEL_PORT_OLD)) babel_print((const u_char *)(up + 1), length); #endif /*INET6*/ @@ -678,9 +678,9 @@ udp_print(register const u_char *bp, u_int 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); + otv_print(gndo, (const u_char *)(up + 1), length); else if (ISPORT(VXLAN_PORT)) - vxlan_print((const u_char *)(up + 1), length); + vxlan_print(gndo, (const u_char *)(up + 1), length); else (void)printf("UDP, length %u", (u_int32_t)(ulen - sizeof(*up))); |