summaryrefslogtreecommitdiff
path: root/print-udp.c
diff options
context:
space:
mode:
authoritojun <itojun>2001-10-04 09:18:45 +0000
committeritojun <itojun>2001-10-04 09:18:45 +0000
commit459451d636e2be05419748a609b56435942f1532 (patch)
treec4ae67df98e3f58d4c23159975d0e467fbe17a75 /print-udp.c
parent0cf1f1d9e6a3753496939b00f69f5a29ab4fc7ed (diff)
downloadtcpdump-459451d636e2be05419748a609b56435942f1532.tar.gz
disable smb printing until we have boundary checks in *smb*.c (there's almost
no boundary check).
Diffstat (limited to 'print-udp.c')
-rw-r--r--print-udp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/print-udp.c b/print-udp.c
index ec2a9655..82114fe6 100644
--- a/print-udp.c
+++ b/print-udp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.99 2001-09-17 06:22:33 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.100 2001-10-04 09:18:47 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -630,10 +630,12 @@ udp_print(register const u_char *bp, u_int length,
krb_print((const void *)(up + 1), length);
else if (ISPORT(L2TP_PORT))
l2tp_print((const u_char *)(up + 1), length);
+#if 0
else if (ISPORT(NETBIOS_NS_PORT))
nbt_udp137_print((const u_char *)(up + 1), length);
else if (ISPORT(NETBIOS_DGRAM_PORT))
nbt_udp138_print((const u_char *)(up + 1), length);
+#endif
else if (dport == 3456)
vat_print((const void *)(up + 1), length, up);
else if (ISPORT(ZEPHYR_SRV_PORT) || ISPORT(ZEPHYR_CLT_PORT))