Wireshark-bugs: [Wireshark-bugs] [Bug 10882] No such 'ipproto' getter attribute/field for object

Date: Thu, 22 Jan 2015 22:39:52 +0000

changed bug 10882


What Removed Added
Status UNCONFIRMED RESOLVED
Resolution --- NOTABUG

Comment # 1 on bug 10882 from
This reflects a change to the underlying data structures exposed by Lua - the
packet_info data structure (Wireshark's katamari :-)) used to have an "ipproto"
member, but that was removed.

The correct way to handle this is to register separate dissectors for each IP
protocol type, even if they call common code, rather than to have a common
dissector that looks at pinfo->ipproto (for C code) or the ipproto field for
Pinfo (for Lua code).

For example, instead of having a common dissector for XXX-over-TCP and
XXX-over-UDP, have separate dissectors that use common code.

(Note, BTW, that TCP is *not* a packet-oriented protocol, so to fully and
correctly dissect a protocol running atop TCP, you *can't* just use a dissector
for protocols running atop packet-oriented protocols such as UDP.)


You are receiving this mail because:
  • You are watching all bug changes.