aboutsummaryrefslogtreecommitdiffstats
path: root/packet-iua.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-iua.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-iua.c')
-rw-r--r--packet-iua.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-iua.c b/packet-iua.c
index 926ddc19b9..6e3d279cfe 100644
--- a/packet-iua.c
+++ b/packet-iua.c
@@ -8,7 +8,7 @@
*
* Copyright 2002, Michael Tuexen <Michael.Tuexen[AT]siemens.com>
*
- * $Id: packet-iua.c,v 1.18 2002/12/02 20:04:44 guy Exp $
+ * $Id: packet-iua.c,v 1.19 2003/01/14 23:53:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -37,6 +37,7 @@
#include <epan/packet.h>
#include "prefs.h"
+#include "sctpppids.h"
#define NETWORK_BYTE_ORDER FALSE
@@ -896,7 +897,6 @@ proto_register_iua(void)
};
#define SCTP_PORT_IUA 9900
-#define IUA_PAYLOAD_PROTO_ID 1
void
proto_reg_handoff_iua(void)
@@ -906,6 +906,6 @@ proto_reg_handoff_iua(void)
iua_handle = create_dissector_handle(dissect_iua, proto_iua);
q931_handle = find_dissector("q931");
- dissector_add("sctp.port", SCTP_PORT_IUA, iua_handle);
- dissector_add("sctp.ppi", IUA_PAYLOAD_PROTO_ID, iua_handle);
+ dissector_add("sctp.port", SCTP_PORT_IUA, iua_handle);
+ dissector_add("sctp.ppi", IUA_PAYLOAD_PROTOCOL_ID, iua_handle);
}