aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2001-01-01 01:44:46 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2001-01-01 01:44:46 +0000
commitd2f2cc6bf6b80f113c50c5ed75a5918c6390c7be (patch)
tree669853cce0c42cc0f4636fc41eff9ed0b52ee768
parentf4d523b96f72fff744a3a26352d43fb3e127862c (diff)
A small fix to ensure that all servers/workgroups show up ... Last one
was not being picked up ... Will have to add proper state keeping code soon ... svn path=/trunk/; revision=2804
-rw-r--r--packet-smb-pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c
index 06165591e1..0cb0bf763d 100644
--- a/packet-smb-pipe.c
+++ b/packet-smb-pipe.c
@@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb-pipe.c,v 1.12 2000/11/22 21:19:37 sharpe Exp $
+ * $Id: packet-smb-pipe.c,v 1.13 2001/01/01 01:44:46 sharpe Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1068,7 +1068,7 @@ dissect_pipe_lanman(const u_char *pd, int offset, frame_data *fd,
/* Make sure we don't go past the end of the capture buffer */
- for (i = 1; (i <= EntCount) && ((pi.captured_len - loc_offset) > 16); i++) {
+ for (i = 1; (i <= EntCount) && ((pi.captured_len - loc_offset) >= 16); i++) {
const gchar *Server = pd + loc_offset;
gint8 ServerMajor;
guint ServerMinor;