aboutsummaryrefslogtreecommitdiffstats
path: root/packet-iua.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-13 04:30:20 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-13 04:30:20 +0000
commitd88ed3d4457dbed93133808a7eb21a9ae442cc9c (patch)
treeab293dfe6e1ffce24c4d43ba51f36a807c41a17a /packet-iua.c
parent2245c85dfe7c07101536d2c681f056d88ea93570 (diff)
Support for dissectors registering themselves with a particular SCTP
payload protocol ID as well as with a particular SCTP port number, from Michael Tuexen. svn path=/trunk/; revision=2891
Diffstat (limited to 'packet-iua.c')
-rw-r--r--packet-iua.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-iua.c b/packet-iua.c
index 61d22547ab..3521f735dd 100644
--- a/packet-iua.c
+++ b/packet-iua.c
@@ -8,7 +8,7 @@
*
* Copyright 2000, Michael Tüxen <Michael.Tuexen@icn.siemens.de>
*
- * $Id: packet-iua.c,v 1.1 2001/01/11 16:46:21 gram Exp $
+ * $Id: packet-iua.c,v 1.2 2001/01/13 04:30:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -59,6 +59,7 @@
#define SCTP_PORT_IUA 9900
+#define IUA_PAYLOAD_PROTO_ID 1
#define VERSION_LENGTH 1
#define RESERVED_LENGTH 1
@@ -1009,6 +1010,7 @@ 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);
}