diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-14 23:53:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-14 23:53:40 +0000 |
commit | a002a0fec41fdab23a6f247ea2b209bad0abefc8 (patch) | |
tree | d8a94839fe39ed71025a4d0c4f47543eff31f44c /packet-sua.c | |
parent | e3fe8c0d34490c77ea9d47813198ca15d55a5cd2 (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-sua.c')
-rw-r--r-- | packet-sua.c | 8 |
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); } |