summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-cisco-wids.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-08-26 17:02:33 +0000
committerJörg Mayer <jmayer@loplof.de>2011-08-26 17:02:33 +0000
commit18735eaba54a23da33da5dd33dffecdf9340452e (patch)
treec1af08f356c9ce0bb18c7e1c1ac34e9d295fb067 /epan/dissectors/packet-cisco-wids.c
parente0645e724c63c956ddac4a50a5b2d29c3800c002 (diff)
downloadwireshark-18735eaba54a23da33da5dd33dffecdf9340452e.tar.gz
Replace TRUE/FALSE with the new ENCAP stuff where appropriate
svn path=/trunk/; revision=38746
Diffstat (limited to 'epan/dissectors/packet-cisco-wids.c')
-rw-r--r--epan/dissectors/packet-cisco-wids.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-cisco-wids.c b/epan/dissectors/packet-cisco-wids.c
index c04222fe1c..927a6c0119 100644
--- a/epan/dissectors/packet-cisco-wids.c
+++ b/epan/dissectors/packet-cisco-wids.c
@@ -86,23 +86,23 @@ dissect_cwids(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
cwids_tree = NULL;
while(tvb_length_remaining(tvb, offset) > 0) {
- ti = proto_tree_add_item(tree, proto_cwids, tvb, offset, 28, FALSE);
+ ti = proto_tree_add_item(tree, proto_cwids, tvb, offset, 28, ENC_BIG_ENDIAN);
cwids_tree = proto_item_add_subtree(ti, ett_cwids);
- proto_tree_add_item(cwids_tree, hf_cwids_version, tvb, offset, 2, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_version, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
- proto_tree_add_item(cwids_tree, hf_cwids_unknown1, tvb, offset, 7, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_unknown1, tvb, offset, 7, ENC_BIG_ENDIAN);
offset += 7;
- proto_tree_add_item(cwids_tree, hf_cwids_channel, tvb, offset, 1, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_channel, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- proto_tree_add_item(cwids_tree, hf_cwids_unknown2, tvb, offset, 6, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_unknown2, tvb, offset, 6, ENC_BIG_ENDIAN);
offset += 6;
- proto_tree_add_item(cwids_tree, hf_cwids_reallength, tvb, offset, 2, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_reallength, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
capturelen = tvb_get_ntohs(tvb, offset);
- proto_tree_add_item(cwids_tree, hf_cwids_capturelen, tvb, offset, 2, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_capturelen, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
- proto_tree_add_item(cwids_tree, hf_cwids_unknown3, tvb, offset, 8, FALSE);
+ proto_tree_add_item(cwids_tree, hf_cwids_unknown3, tvb, offset, 8, ENC_BIG_ENDIAN);
offset += 8;
wlan_tvb = tvb_new_subset(tvb, offset, capturelen, capturelen);