diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-14 23:53:40 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-14 23:53:40 +0000 |
commit | 2ce2a9c2eb6267b2e41138715e3d0adf8f2ec1b5 (patch) | |
tree | d8a94839fe39ed71025a4d0c4f47543eff31f44c /packet-m2ua.c | |
parent | 907a86843517bd9237d4bd57ed87c8b77cdf368c (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-m2ua.c')
-rw-r--r-- | packet-m2ua.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-m2ua.c b/packet-m2ua.c index 0f024702b3..0f43ece2eb 100644 --- a/packet-m2ua.c +++ b/packet-m2ua.c @@ -6,7 +6,7 @@ * * Copyright 2002, Michael Tuexen <Michael.Tuexen [AT] siemens.com> * - * $Id: packet-m2ua.c,v 1.7 2002/12/03 09:31:48 tuexen Exp $ + * $Id: packet-m2ua.c,v 1.8 2003/01/14 23:53:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -34,9 +34,9 @@ #endif #include <epan/packet.h> +#include "sctpppids.h" #define SCTP_PORT_M2UA 2904 -#define M2UA_PAYLOAD_PROTO_ID 2 #define NETWORK_BYTE_ORDER FALSE @@ -1109,6 +1109,6 @@ proto_reg_handoff_m2ua(void) mtp3_handle = find_dissector("mtp3"); m2ua_handle = create_dissector_handle(dissect_m2ua, proto_m2ua); - dissector_add("sctp.ppi", M2UA_PAYLOAD_PROTO_ID, m2ua_handle); + dissector_add("sctp.ppi", M2UA_PAYLOAD_PROTOCOL_ID, m2ua_handle); dissector_add("sctp.port", SCTP_PORT_M2UA, m2ua_handle); } |