aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-23 14:28:02 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-23 14:28:02 +0000
commitd24fe5a7579d9e935c32d29c6897148c964d698a (patch)
treee6f2b64645e3f26aad0512aa567fa7ff328a74e3
parentcd823f1307c1e5d6a4b4abc46066fece009e4422 (diff)
Fix compilation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37362 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-lwapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lwapp.c b/epan/dissectors/packet-lwapp.c
index a39bb839fb..8187183731 100644
--- a/epan/dissectors/packet-lwapp.c
+++ b/epan/dissectors/packet-lwapp.c
@@ -337,8 +337,9 @@ static void dissect_lwapp_l3(tvbuff_t *tvb, packet_info *pinfo,
ti = proto_tree_add_item(tree, proto_lwapp_l3, tvb, offset,
-1, FALSE);
lwapp_tree = proto_item_add_subtree(ti, ett_lwapp_l3);
+ } else {
+ lwapp_tree = NULL;
}
-
/* Dissect as Ethernet */
next_client = tvb_new_subset_remaining(tvb, 0);
call_dissector(eth_withoutfcs_handle, next_client, pinfo, lwapp_tree);