diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-16 05:16:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-16 05:16:58 +0000 |
commit | 3c91e2e203855cf290ba0495ca130bfc96f0f848 (patch) | |
tree | f69005a62bb0392c20abfb3cf5d0975c57c1a073 /packet-sll.c | |
parent | 04c530b2def5a06f92aecbc16ca698a84b6811cd (diff) |
Convert a bunch of "proto_tree_add_bytes(tree, hf, tvb, offset, length,
tvb_get_ptr(tvb, offset, length))" calls to "proto_tree_add_item()"
calls.
Do the same, in "packet-iscsi.c" and "packet-mrdisc.c", for
"proto_tree_add_uint()" and "proto_tree_add_boolean()" calls.
svn path=/trunk/; revision=3726
Diffstat (limited to 'packet-sll.c')
-rw-r--r-- | packet-sll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-sll.c b/packet-sll.c index 559995ccac..7a5706af8d 100644 --- a/packet-sll.c +++ b/packet-sll.c @@ -1,7 +1,7 @@ /* packet-sll.c * Routines for disassembly of packets from Linux "cooked mode" captures * - * $Id: packet-sll.c,v 1.10 2001/06/18 02:17:52 guy Exp $ + * $Id: packet-sll.c,v 1.11 2001/07/16 05:16:58 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -180,8 +180,8 @@ dissect_sll(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } } else { if (tree) { - proto_tree_add_bytes(fh_tree, hf_sll_src_other, tvb, - 6, halen, tvb_get_ptr(tvb, 6, halen)); + proto_tree_add_item(fh_tree, hf_sll_src_other, tvb, + 6, halen, FALSE); } } |