diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-06-25 19:56:13 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2001-06-25 19:56:13 +0000 |
commit | acc9e3d8c85f510e56452cfd225dc3a95d5d256c (patch) | |
tree | 73ca5eaa58b43c3774b5ce500a098557fba222a8 /usr.sbin/tcpdump/print-tcp.c | |
parent | 5e88f252c3a124c1dcc02c6866ad148a6d3eb4b6 (diff) |
disable smb decoder, as there seems to be fewer bound checks than needed
Diffstat (limited to 'usr.sbin/tcpdump/print-tcp.c')
-rw-r--r-- | usr.sbin/tcpdump/print-tcp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-tcp.c b/usr.sbin/tcpdump/print-tcp.c index 823cdca157a..68e94717bd0 100644 --- a/usr.sbin/tcpdump/print-tcp.c +++ b/usr.sbin/tcpdump/print-tcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-tcp.c,v 1.14 2000/12/07 22:36:46 mickey Exp $ */ +/* $OpenBSD: print-tcp.c,v 1.15 2001/06/25 19:56:11 itojun Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.14 2000/12/07 22:36:46 mickey Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.15 2001/06/25 19:56:11 itojun Exp $ (LBL)"; #endif #include <sys/param.h> @@ -564,8 +564,10 @@ tcp_print(register const u_char *bp, register u_int length, bp += (tp->th_off * 4); if (sport == BGP_PORT || dport == BGP_PORT) bgp_print(bp, length); +#if 0 else if (sport == NETBIOS_SSN_PORT || dport == NETBIOS_SSN_PORT) nbt_tcp_print(bp, length); +#endif return; bad: fputs("[bad opt]", stdout); |