aboutsummaryrefslogtreecommitdiffstats
path: root/print-tcp.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-05-30 06:46:26 +0000
committerXin LI <delphij@FreeBSD.org>2013-05-30 06:46:26 +0000
commitf3d019c7d20f9d0c07d397064fa7cef7711b2455 (patch)
tree7ad307c72c31cc07657515d09bc98fe727ce8d27 /print-tcp.c
parent0de8253a2f7ef0628846edb4fdcceb9ccab12d7a (diff)
downloadsrc-f3d019c7d20f9d0c07d397064fa7cef7711b2455.tar.gz
src-f3d019c7d20f9d0c07d397064fa7cef7711b2455.zip
Vendor import of tcpdump 4.4.0.vendor/tcpdump/4.4.0
Notes
Notes: svn path=/vendor/tcpdump/dist/; revision=251127 svn path=/vendor/tcpdump/4.4.0/; revision=251128; tag=vendor/tcpdump/4.4.0
Diffstat (limited to 'print-tcp.c')
-rw-r--r--print-tcp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/print-tcp.c b/print-tcp.c
index 88b461576df9..3b0a13541afc 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);