diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-26 17:02:33 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-26 17:02:33 +0000 |
commit | 3939bdac383f08e26aae314ddd9320cb65d57eb4 (patch) | |
tree | c1af08f356c9ce0bb18c7e1c1ac34e9d295fb067 /epan/dissectors/packet-cisco-wids.c | |
parent | d7f8619488a9d71202f42d32a5398cebb1f6cb52 (diff) |
Replace TRUE/FALSE with the new ENCAP stuff where appropriate
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38746 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cisco-wids.c')
-rw-r--r-- | epan/dissectors/packet-cisco-wids.c | 16 |
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); |