Wireshark-bugs: [Wireshark-bugs] [Bug 3949] Missing/Duplicate protocol(s)

Date: Wed, 26 Aug 2009 11:49:28 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3949


Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows XP                  |All
           Platform|x86                         |All




--- Comment #2 from Guy Harris <guy@xxxxxxxxxxxx>  2009-08-26 11:49:27 PDT ---
For DHCP, it might be useful to have "dhcp" as an alias for "bootp", although
that would also mean having "dhcp.*" fields as aliases for the corresponding
"bootp.*" fields.

For DHCPv6, it appears that the dissector gets passed a flag indicating whether
the traffic is to/from port 546 (to the client) or to/from port 547 (to the
server/relay agent).  The flag is not used; I don't know whether there would
ever be a reason to use it.

That's done by having two DHCPv6 dissectors - an "upstream" one and a
"downstream" one - which call the common dissection code, passing it a
different value for the "downstream" flag.  Both of those dissectors are
registered.

We might want to just remove that, and let somebody add it back in (or have
only one dissector and have it look at the matched port, or use some other
mechanism to distinguish the traffic direction) if it's ever necessary; that
way, there will be only one DHCPv6 dissector function, and, even though it's
registered for two ports, it should show up only once in the list of dissectors
(if not, that's a bug).


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