aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c
index f23b716ab6..ed71a1c6b6 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb.c,v 1.11 1999/05/13 01:05:11 sharpe Exp $
+ * $Id: packet-smb.c,v 1.12 1999/06/01 20:39:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -672,7 +672,7 @@ dissect_negprot_smb(const u_char *pd, int offset, frame_data *fd, proto_tree *tr
}
- while (END_OF_FRAME > 0) {
+ while (fd->cap_len > offset) {
const char *str;
if (tree) {