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 5801] Two new display filters for EtherNet/IP dissector

Date: Wed, 6 Apr 2011 01:53:55 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5801

--- Comment #5 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2011-04-06 01:53:54 PDT ---
Note that the lengh hf fields do not have to be unique unless you need
to filter on different lenghth fields e.g by adding

+      { &hf_enip_length,
+         { "Length", "enip.length",
+         FT_UINT16, BASE_DEC, NULL, 0,
+         NULL, HFILL }
+      },
 you could replace all proto_tree_add_text() by proto_tree_add_item() which
is the prefered coding style.
Regards
Anders

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