diff options
author | delphij <delphij@FreeBSD.org> | 2013-05-30 06:46:26 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-05-30 06:46:26 +0000 |
commit | a765887ce77351bac1c77be2cf18a3a66a602fc5 (patch) | |
tree | 7ad307c72c31cc07657515d09bc98fe727ce8d27 /print-tcp.c | |
parent | 69fe8a0033b22318969c85b57837b48863946665 (diff) | |
download | FreeBSD-src-a765887ce77351bac1c77be2cf18a3a66a602fc5.zip FreeBSD-src-a765887ce77351bac1c77be2cf18a3a66a602fc5.tar.gz |
Vendor import of tcpdump 4.4.0.
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/print-tcp.c b/print-tcp.c index 88b4615..3b0a1354 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -639,6 +639,15 @@ tcp_print(register const u_char *bp, register u_int length, return; } + if (packettype) { + switch (packettype) { + case PT_ZMTP1: + zmtp1_print(bp, length); + break; + } + return; + } + if (sport == TELNET_PORT || dport == TELNET_PORT) { if (!qflag && vflag) telnet_print(bp, length); |