diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-04-23 04:29:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-04-23 04:29:54 +0000 |
commit | 32c0848007033daaedcbb628da2230eadd155051 (patch) | |
tree | 7bb7a3fde4970145f23ca2ac97d3e646315bd007 /packet-snmp.c | |
parent | caeb3dd2de08c9ae66b340745cb53b3c2a77a749 (diff) |
Get rid of END_OF_FRAME references in tvbuffified dissectors.
svn path=/trunk/; revision=3364
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index e5f17167be..176d3da78c 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -8,7 +8,7 @@ * * See RFCs 1905, 1906, 1909, and 1910 for SNMPv2u. * - * $Id: packet-snmp.c,v 1.66 2001/04/15 09:05:17 guy Exp $ + * $Id: packet-snmp.c,v 1.67 2001/04/23 04:29:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -1477,7 +1477,7 @@ dissect_snmp_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo, if (tree) { item = proto_tree_add_item(tree, proto, tvb, offset, - END_OF_FRAME, FALSE); + tvb_length_remaining(tvb, offset), FALSE); snmp_tree = proto_item_add_subtree(item, ett); } @@ -1864,7 +1864,7 @@ dissect_smux_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo, if (tree) { item = proto_tree_add_item(tree, proto, tvb, offset, - END_OF_FRAME, FALSE); + tvb_length_remaining(tvb, offset), FALSE); smux_tree = proto_item_add_subtree(item, ett); } |