aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sctp.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-05 11:54:08 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-05 11:54:08 +0000
commitca921fa5d63ea48aece8350491c16f059a8367a2 (patch)
tree0348297f47f2cd4a7e076ffc7f6794d2b43c8d11 /packet-sctp.c
parent497045efca85111072146544160ae88656893be8 (diff)
Add SCTP tunneling.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8392 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sctp.c')
-rw-r--r--packet-sctp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-sctp.c b/packet-sctp.c
index 72b8b4533e..1937ddcf19 100644
--- a/packet-sctp.c
+++ b/packet-sctp.c
@@ -12,7 +12,7 @@
* - support for reassembly
* - error checking mode
*
- * $Id: packet-sctp.c,v 1.62 2003/09/02 11:03:59 tuexen Exp $
+ * $Id: packet-sctp.c,v 1.63 2003/09/05 11:54:08 tuexen Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -46,6 +46,7 @@
#define NETWORK_BYTE_ORDER FALSE
#define ADD_PADDING(x) ((((x) + 3) >> 2) << 2)
+#define UDP_TUNNELING_PORT 9899
/* Initialize the protocol and registered fields */
static int proto_sctp = -1;
@@ -2233,4 +2234,5 @@ proto_reg_handoff_sctp(void)
data_handle = find_dissector("data");
sctp_handle = create_dissector_handle(dissect_sctp, proto_sctp);
dissector_add("ip.proto", IP_PROTO_SCTP, sctp_handle);
+ dissector_add("udp.port", UDP_TUNNELING_PORT, sctp_handle);
}