summaryrefslogtreecommitdiff
path: root/print-smb.c
diff options
context:
space:
mode:
authormcr <mcr>2007-08-29 02:31:44 +0000
committermcr <mcr>2007-08-29 02:31:44 +0000
commit05b7f224d84449f43e1e7714ef73e7602af27f28 (patch)
treed96ce350f2818a25c36fd7865aa2c30532f435c0 /print-smb.c
parentc70841183955cc36938f33cc1aec9298b55dd2a0 (diff)
downloadtcpdump-05b7f224d84449f43e1e7714ef73e7602af27f28.tar.gz
Patches from NetBSD tree.
Diffstat (limited to 'print-smb.c')
-rw-r--r--print-smb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/print-smb.c b/print-smb.c
index 5915fdc1..fcd4fbaa 100644
--- a/print-smb.c
+++ b/print-smb.c
@@ -12,7 +12,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.45 2007-07-14 22:28:36 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-smb.c,v 1.46 2007-08-29 02:31:44 mcr Exp $";
#endif
#include <tcpdump-stdinc.h>
@@ -1459,8 +1459,7 @@ ipx_netbios_print(const u_char *data, u_int length)
break;
if (memcmp(&data[i], "\377SMB", 4) == 0) {
smb_fdata(data, "\n>>> IPX transport ", &data[i], 0);
- if (data != NULL)
- print_smb(&data[i], maxbuf);
+ print_smb(&data[i], maxbuf);
printf("\n");
fflush(stdout);
break;