aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sua.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-14 23:53:40 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-01-14 23:53:40 +0000
commit2ce2a9c2eb6267b2e41138715e3d0adf8f2ec1b5 (patch)
treed8a94839fe39ed71025a4d0c4f47543eff31f44c /packet-sua.c
parent907a86843517bd9237d4bd57ed87c8b77cdf368c (diff)
From Christian Falckenberg: beginnings of a MEGACO dissector.
Move SCTP payload protocol IDs to a header file, and get the PPIDs from that header file rather than defining them in dissectors running atop SCTP. Use both the old(?) and official PPID for ASAP. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6926 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-sua.c')
-rw-r--r--packet-sua.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-sua.c b/packet-sua.c
index f815ab1698..9ec9dba1f4 100644
--- a/packet-sua.c
+++ b/packet-sua.c
@@ -6,7 +6,7 @@
*
* Copyright 2000, Michael Tüxen <Michael.Tuexen [AT] siemens.com>
*
- * $Id: packet-sua.c,v 1.11 2002/12/02 23:43:29 guy Exp $
+ * $Id: packet-sua.c,v 1.12 2003/01/14 23:53:33 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -42,9 +42,9 @@
#include <epan/packet.h>
#include "prefs.h"
+#include "sctpppids.h"
#define SCTP_PORT_SUA 14001
-#define SUA_PAYLOAD_PROTO_ID 4
#define RESERVED_1_LENGTH 1
#define RESERVED_2_LENGTH 2
@@ -2750,6 +2750,6 @@ proto_reg_handoff_sua(void)
dissector_handle_t sua_handle;
sua_handle = create_dissector_handle(dissect_sua, proto_sua);
- dissector_add("sctp.ppi", SUA_PAYLOAD_PROTO_ID, sua_handle);
- dissector_add("sctp.port", SCTP_PORT_SUA, sua_handle);
+ dissector_add("sctp.ppi", SUA_PAYLOAD_PROTOCOL_ID, sua_handle);
+ dissector_add("sctp.port", SCTP_PORT_SUA, sua_handle);
}