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

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





--- Comment #1 from Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>  2009-08-26 11:03:30 PDT ---
The reason IPv4 DHCP is not listed is because it is simply an extension of the
old BOOTP protocol.  Wireshark needs bootp as a display filter for that.

As for DHCPv6 showing up twice, it looks like it is because in
epan/dissectors/packet-dhcpv6.c it is registered twice:

void
proto_reg_handoff_dhcpv6(void)
{
  dissector_handle_t dhcpv6_handle;

  dhcpv6_handle = create_dissector_handle(dissect_dhcpv6_downstream,
        proto_dhcpv6);
  dissector_add("udp.port", UDP_PORT_DHCPV6_DOWNSTREAM, dhcpv6_handle);
  dhcpv6_handle = create_dissector_handle(dissect_dhcpv6_upstream,
        proto_dhcpv6);
  dissector_add("udp.port", UDP_PORT_DHCPV6_UPSTREAM, dhcpv6_handle);
}

In the code above, two different dissector handles are created and that part
may not be necessary, though I haven't looked at the code very closely yet.


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