diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-16 17:03:30 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-16 17:03:30 +0000 |
commit | 9af777d5fcf42ec7b022bf5700c2968a591a365e (patch) | |
tree | 478425bf54154723b4d81b9afebbfdc85560088a /epan | |
parent | 1bd54117549ed82a6cab9d55a26983b784b5950f (diff) |
Use recent IANA port assignments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21449 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-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); } |