aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dhcpv6.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-10 10:56:36 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-10 10:56:36 +0000
commit25c11c0d2b956f697a58f6ea2188c415c28a4d9f (patch)
tree5779a6018c4e7bdd812827fbdc05ad9a7716337e /epan/dissectors/packet-dhcpv6.c
parent3bf26659a9dff5d8fc45b9a96844767852dc1d77 (diff)
Make dhcpv6 findable by name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21740 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r--epan/dissectors/packet-dhcpv6.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c
index a942cf5b68..34c43dce21 100644
--- a/epan/dissectors/packet-dhcpv6.c
+++ b/epan/dissectors/packet-dhcpv6.c
@@ -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