From c4b63360dca3801edf6b7f0a08e8129021029ecd Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 27 Oct 2011 20:30:38 +0000 Subject: Fix proto_tree_add_item( encoding args; Do whitespace cleanup (for a few files). svn path=/trunk/; revision=39640 --- epan/dissectors/packet-radius_packetcable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-radius_packetcable.c') diff --git a/epan/dissectors/packet-radius_packetcable.c b/epan/dissectors/packet-radius_packetcable.c index df2affe126..eb4e5de75c 100644 --- a/epan/dissectors/packet-radius_packetcable.c +++ b/epan/dissectors/packet-radius_packetcable.c @@ -329,7 +329,7 @@ static const gchar* dissect_packetcable_qos_descriptor(proto_tree* tree, tvbuff_ proto_tree_add_item(obj_tree, hf_packetcable_qos_status_indication, tvb, 0, 4, ENC_BIG_ENDIAN); for (intval = 0; intval < PACKETCABLE_QOS_DESC_BITFIELDS; intval++) { - proto_tree_add_item(obj_tree, hf_packetcable_qos_desc_flags[intval], tvb, 0, 4, FALSE); + proto_tree_add_item(obj_tree, hf_packetcable_qos_desc_flags[intval], tvb, 0, 4, ENC_BIG_ENDIAN); } tvb_memcpy(tvb, packetcable_buf, 4, 16); @@ -340,7 +340,7 @@ static const gchar* dissect_packetcable_qos_descriptor(proto_tree* tree, tvbuff_ for (intval = 0; intval < PACKETCABLE_QOS_DESC_BITFIELDS; intval++) { if (packetcable_qos_flags & packetcable_qos_desc_mask[intval]) { proto_tree_add_item(tree, hf_packetcable_qos_desc_fields[intval], - tvb, packetcable_qos_off, 4, FALSE); + tvb, packetcable_qos_off, 4, ENC_BIG_ENDIAN); packetcable_qos_off += 4; } } -- cgit v1.2.3