Add an additional "protocol index" argument to "{old_}dissector_add()",
[obnox/wireshark/wip.git] / packet-cdp.c
index 899513d90303f25af7837622be96485874e64285..f6b7e5902b26600ddfe67f1c77e77ec8eb1cf50b 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for the disassembly of the "Cisco Discovery Protocol"
  * (c) Copyright Hannes R. Boehm <hannes@boehm.org>
  *
- * $Id: packet-cdp.c,v 1.30 2001/01/05 19:14:05 guy Exp $
+ * $Id: packet-cdp.c,v 1.31 2001/01/09 06:31:34 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -524,5 +524,5 @@ proto_register_cdp(void)
 void
 proto_reg_handoff_cdp(void)
 {
-    dissector_add("llc.cisco_pid", 0x2000, dissect_cdp);
+    dissector_add("llc.cisco_pid", 0x2000, dissect_cdp, proto_cdp);
 }