Make dhcpv6 findable by name.

svn path=/trunk/; revision=21740
This commit is contained in:
Martin Mathieson 2007-05-10 10:56:36 +00:00
parent e5e23150ab
commit ef3f75d6df
1 changed files with 4 additions and 0 deletions

View File

@ -970,6 +970,10 @@ proto_register_dhcpv6(void)
proto_dhcpv6 = proto_register_protocol("DHCPv6", "DHCPv6", "dhcpv6");
proto_register_field_array(proto_dhcpv6, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
/* Allow other dissectors to find this one by name.
Just choose upstream version for now as they are identical. */
register_dissector("dhcpv6", dissect_dhcpv6_upstream, proto_dhcpv6);
}
void