aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sll.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-16 05:16:58 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-07-16 05:16:58 +0000
commitef3dcfb5cc42c1b40a08504c3cdc089187271425 (patch)
treef69005a62bb0392c20abfb3cf5d0975c57c1a073 /packet-sll.c
parent39f6f982ce63bcf03d90f882fc27de434675d1bc (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3726 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sll.c')
-rw-r--r--packet-sll.c6
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);
}
}