diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-13 04:30:20 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-01-13 04:30:20 +0000 |
commit | bd1e5e0ad25e2cdb5f2a2f66861c6b4a51b0e52f (patch) | |
tree | ab293dfe6e1ffce24c4d43ba51f36a807c41a17a /packet-iua.c | |
parent | ead4cca933fcc10159aa72170daa704bc6f5124a (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2891 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-iua.c')
-rw-r--r-- | packet-iua.c | 4 |
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); } |