diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-21 02:10:19 +0000 |
commit | 06b82a395a87dfcf4139fb44caeb9f4952f56b6d (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-capwap.c | |
parent | 75cdd631a75832f542fe2b02ea6a469fdfcffa8a (diff) |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-capwap.c')
-rw-r--r-- | epan/dissectors/packet-capwap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c index 0e59142e7b..0796b93fa4 100644 --- a/epan/dissectors/packet-capwap.c +++ b/epan/dissectors/packet-capwap.c @@ -1354,7 +1354,7 @@ dissect_capwap_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "CAPWAP"); col_set_str(pinfo->cinfo, COL_INFO, "CAPWAP-Control"); - ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_BIG_ENDIAN); + ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_NA); capwap_control_tree = proto_item_add_subtree(ti, ett_capwap); /* CAPWAP Preamble */ @@ -1437,7 +1437,7 @@ dissect_capwap_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "CAPWAP"); col_set_str(pinfo->cinfo, COL_INFO, "CAPWAP-Data"); - ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_BIG_ENDIAN); + ti = proto_tree_add_item(tree, proto_capwap, tvb, 0, -1, ENC_NA); capwap_data_tree = proto_item_add_subtree(ti, ett_capwap); /* CAPWAP Preamble */ |