diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-21 02:10:19 +0000 |
commit | 794757ae8fbee85db2b24bc46b7e9cc492de01df (patch) | |
tree | a955184a13d8444bdec0de9200f261c46cfa2734 /epan/dissectors/packet-lwapp.c | |
parent | 449d732485da5a19b8a0d3ddef49ed30498712ff (diff) |
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
Diffstat (limited to 'epan/dissectors/packet-lwapp.c')
-rw-r--r-- | epan/dissectors/packet-lwapp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lwapp.c b/epan/dissectors/packet-lwapp.c index 8187183731..37b35e902a 100644 --- a/epan/dissectors/packet-lwapp.c +++ b/epan/dissectors/packet-lwapp.c @@ -292,7 +292,7 @@ static void dissect_control(tvbuff_t *tvb, packet_info *pinfo, if (tree) { /* create display subtree for the protocol */ ti = proto_tree_add_item(tree, proto_lwapp_control, tvb, offset, - -1, FALSE); + -1, ENC_NA); control_tree = proto_item_add_subtree(ti, ett_lwapp_control); proto_tree_add_uint(control_tree, hf_lwapp_control_type, @@ -335,7 +335,7 @@ static void dissect_lwapp_l3(tvbuff_t *tvb, packet_info *pinfo, if (tree) { /* create display subtree for the protocol */ ti = proto_tree_add_item(tree, proto_lwapp_l3, tvb, offset, - -1, FALSE); + -1, ENC_NA); lwapp_tree = proto_item_add_subtree(ti, ett_lwapp_l3); } else { lwapp_tree = NULL; @@ -411,7 +411,7 @@ static void dissect_lwapp(tvbuff_t *tvb, packet_info *pinfo, if (tree) { /* create display subtree for the protocol */ - ti = proto_tree_add_item(tree, proto_lwapp, tvb, offset, -1, FALSE); + ti = proto_tree_add_item(tree, proto_lwapp, tvb, offset, -1, ENC_NA); lwapp_tree = proto_item_add_subtree(ti, ett_lwapp); if (have_destmac) { |