aboutsummaryrefslogtreecommitdiffstats
path: root/packet-m3ua.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-14 23:53:40 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-14 23:53:40 +0000
commita002a0fec41fdab23a6f247ea2b209bad0abefc8 (patch)
treed8a94839fe39ed71025a4d0c4f47543eff31f44c /packet-m3ua.c
parente3fe8c0d34490c77ea9d47813198ca15d55a5cd2 (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. svn path=/trunk/; revision=6926
Diffstat (limited to 'packet-m3ua.c')
-rw-r--r--packet-m3ua.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-m3ua.c b/packet-m3ua.c
index 456e06a739..4c6bd2bdc6 100644
--- a/packet-m3ua.c
+++ b/packet-m3ua.c
@@ -9,7 +9,7 @@
*
* Copyright 2000, 2001, 2002, Michael Tuexen <Michael.Tuexen [AT] siemens.com>
*
- * $Id: packet-m3ua.c,v 1.22 2002/12/02 23:43:27 guy Exp $
+ * $Id: packet-m3ua.c,v 1.23 2003/01/14 23:53:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -45,9 +45,9 @@
#include <epan/packet.h>
#include "prefs.h"
+#include "sctpppids.h"
#define SCTP_PORT_M3UA 2905
-#define M3UA_PAYLOAD_PROTO_ID 3
#define VERSION_LENGTH 1
#define RESERVED_LENGTH 1
@@ -1885,6 +1885,6 @@ proto_reg_handoff_m3ua(void)
mtp3_handle = find_dissector("mtp3");
data_handle = find_dissector("data");
m3ua_handle = create_dissector_handle(dissect_m3ua, proto_m3ua);
- dissector_add("sctp.ppi", M3UA_PAYLOAD_PROTO_ID, m3ua_handle);
+ dissector_add("sctp.ppi", M3UA_PAYLOAD_PROTOCOL_ID, m3ua_handle);
dissector_add("sctp.port", SCTP_PORT_M3UA, m3ua_handle);
}