diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2007-04-16 17:03:30 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2007-04-16 17:03:30 +0000 |
commit | 2a10f9ea961ab7f99975edbc1447d6c025c59c74 (patch) | |
tree | 478425bf54154723b4d81b9afebbfdc85560088a | |
parent | 80c73301661ca7a66db4063d3745bcdf5f57d6cf (diff) |
Use recent IANA port assignments.
svn path=/trunk/; revision=21449
-rw-r--r-- | epan/dissectors/packet-asap.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-enrp.c | 11 |
2 files changed, 6 insertions, 9 deletions
diff --git a/epan/dissectors/packet-asap.c b/epan/dissectors/packet-asap.c index e635bab241..bc006d8304 100644 --- a/epan/dissectors/packet-asap.c +++ b/epan/dissectors/packet-asap.c @@ -102,6 +102,7 @@ dissect_asap_message(tvbuff_t *, packet_info *, proto_tree *); #define ASAP_UDP_PORT 3863 #define ASAP_TCP_PORT 3863 +#define ASAP_SCTP_PORT 3863 /* Dissectors for error causes. This is common for ASAP and ENRP. */ @@ -822,9 +823,6 @@ proto_reg_handoff_asap(void) asap_handle = create_dissector_handle(dissect_asap, proto_asap); dissector_add("sctp.ppi", ASAP_PAYLOAD_PROTOCOL_ID, asap_handle); dissector_add("udp.port", ASAP_UDP_PORT, asap_handle); - /* FIXME */ - /* dissector_add("tcp.port", ASAP_TCP_PORT, asap_handle); dissector_add("sctp.port", ASAP_SCTP_PORT, asap_handle); - */ } diff --git a/epan/dissectors/packet-enrp.c b/epan/dissectors/packet-enrp.c index f5567a7003..7d2c57918b 100644 --- a/epan/dissectors/packet-enrp.c +++ b/epan/dissectors/packet-enrp.c @@ -108,9 +108,8 @@ dissect_enrp_message(tvbuff_t *, packet_info *, proto_tree *); #define NETWORK_BYTE_ORDER FALSE #define ADD_PADDING(x) ((((x) + 3) >> 2) << 2) -/* These following ports are NOT reserved. */ -#define ENRP_UDP_PORT 3864 -#define ASAP_SCTP_PORT 3864 +#define ENRP_UDP_PORT 9901 +#define ENRP_SCTP_PORT 9901 /* Dissectors for error causes. This is common for ASAP and ENRP. */ @@ -995,7 +994,7 @@ proto_reg_handoff_enrp(void) dissector_handle_t enrp_handle; enrp_handle = create_dissector_handle(dissect_enrp, proto_enrp); - dissector_add("sctp.ppi", ENRP_PAYLOAD_PROTOCOL_ID, enrp_handle); -/* The following line will be uncommented AFTER a port number is assinged. */ -/* dissector_add("udp.port", ENRP_UDP_PORT, enrp_handle); */ + dissector_add("sctp.ppi", ENRP_PAYLOAD_PROTOCOL_ID, enrp_handle); + dissector_add("sctp.port", ENRP_SCTP_PORT, enrp_handle); + dissector_add("udp.port", ENRP_UDP_PORT, enrp_handle); } |