diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-27 20:30:38 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-27 20:30:38 +0000 |
commit | c4b63360dca3801edf6b7f0a08e8129021029ecd (patch) | |
tree | ddab9db024cfcf58645c84147e59d7cb8d3e5445 /epan/dissectors/packet-radius_packetcable.c | |
parent | 1b75d2a3f3fa25258362179d340ab55d91c832ad (diff) |
Fix proto_tree_add_item( encoding args;
Do whitespace cleanup (for a few files).
svn path=/trunk/; revision=39640
Diffstat (limited to 'epan/dissectors/packet-radius_packetcable.c')
-rw-r--r-- | epan/dissectors/packet-radius_packetcable.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |