aboutsummaryrefslogtreecommitdiffstats
path: root/packet-iua.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-iua.c')
-rw-r--r--packet-iua.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/packet-iua.c b/packet-iua.c
index 9a3e0ad672..ba27ab637e 100644
--- a/packet-iua.c
+++ b/packet-iua.c
@@ -8,7 +8,7 @@
*
* Copyright 2000, Michael Txen <Michael.Tuexen@icn.siemens.de>
*
- * $Id: packet-iua.c,v 1.8 2001/10/23 05:23:58 guy Exp $
+ * $Id: packet-iua.c,v 1.9 2001/12/03 03:59:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1008,6 +1008,9 @@ proto_register_iua(void)
void
proto_reg_handoff_iua(void)
{
- dissector_add("sctp.port", SCTP_PORT_IUA, dissect_iua, proto_iua);
- dissector_add("sctp.ppi", IUA_PAYLOAD_PROTO_ID, dissect_iua, proto_iua);
+ dissector_handle_t iua_handle;
+
+ iua_handle = create_dissector_handle(dissect_iua, proto_iua);
+ dissector_add("sctp.port", SCTP_PORT_IUA, iua_handle);
+ dissector_add("sctp.ppi", IUA_PAYLOAD_PROTO_ID, iua_handle);
}