Wireshark-bugs: [Wireshark-bugs] [Bug 5612] Dissectors not declared by name (no "register_dissec
Date: Wed, 28 Sep 2011 16:22:56 -0700 (PDT)

--- Comment #3 from Guy Harris <[email protected]> 2011-09-28 16:22:55 PDT ---
register_dissector() doesn't register protocols, it registers dissectors. 
There is not a one-to-one correspondence between protocols and dissectors;
there are, for example, at least three separate dissectors for IEEE Std 802.3 -
one for Ethernet packets known not to have an FCS in the packet data, one for
Ethernet packets known to have an FCS in the packet data, and one for Ethernet
packets where its presence is indicated by the code that reads the packet data
from the file (so it gets it from the pseudo-header).

What we *could* do is deprecate create_dissector_handle() and
new_create_dissector_handle() and try to get rid of it before 1.8 is released;
that leaves only register_dissector() and new_register_dissector(), which
create dissector handles *and* assign a name to the dissector.

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