aboutsummaryrefslogtreecommitdiffstats
path: root/packet-lmi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-30 11:03:29 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-30 11:03:29 +0000
commit14b9ab8134f8f2f5ee51b9761ee0f40cebddf79d (patch)
tree858c96f33ea54ac2ca686b47ee2cff38df5bd698 /packet-lmi.c
parenta8cbb073d4db9e6194718dc7f280a629dc42e854 (diff)
Fix a case where we were putting a 1-byte field into the tree with a
length of 0. svn path=/trunk/; revision=3212
Diffstat (limited to 'packet-lmi.c')
-rw-r--r--packet-lmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-lmi.c b/packet-lmi.c
index 4ccc0a80ee..299057182f 100644
--- a/packet-lmi.c
+++ b/packet-lmi.c
@@ -2,7 +2,7 @@
* Routines for Frame Relay Local Management Interface (LMI) disassembly
* Copyright 2001, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-lmi.c,v 1.3 2001/03/30 10:51:50 guy Exp $
+ * $Id: packet-lmi.c,v 1.4 2001/03/30 11:03:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -126,7 +126,7 @@ dissect_lmi_link_int(tvbuff_t *tvb, int offset, proto_tree *tree)
{
proto_tree_add_uint(tree, hf_lmi_send_seq, tvb, offset, 1, tvb_get_guint8( tvb, offset));
++offset;
- proto_tree_add_uint(tree, hf_lmi_recv_seq, tvb, offset, 0, tvb_get_guint8( tvb, offset));
+ proto_tree_add_uint(tree, hf_lmi_recv_seq, tvb, offset, 1, tvb_get_guint8( tvb, offset));
}