Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5658] dissector/packet-batadv: Add support for v12/v13 pac

Date: Sat, 14 May 2011 08:00:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658

--- Comment #12 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2011-05-14 08:00:51 PDT ---
I'm not sure I understand the purpose of the changes in this last (unify
NULL-tree dissection) patch.  For example, moving this code:

-
-        proto_tree_add_ether(batadv_vis_entry_tree, hf_batadv_vis_entry_dst,
tvb, 0, 6, dst);
-        proto_tree_add_item(batadv_vis_entry_tree,
hf_batadv_vis_entry_quality, tvb, 6, 1, FALSE);
     }
+
+    proto_tree_add_ether(batadv_vis_entry_tree, hf_batadv_vis_entry_dst, tvb,
0, 6, dst);
+    proto_tree_add_item(batadv_vis_entry_tree, hf_batadv_vis_entry_quality,
tvb, 6, 1, FALSE);


out of the if(tree) will have no effect.  The proto_tree_add_*() routines will
simply return if the tree is NULL.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.