From 3c91e2e203855cf290ba0495ca130bfc96f0f848 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 16 Jul 2001 05:16:58 +0000 Subject: 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 --- packet-sll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packet-sll.c') 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 @@ -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); } } -- cgit v1.2.1