Use recent IANA port assignments.

svn path=/trunk/; revision=21449
This commit is contained in:
Michael Tüxen 2007-04-16 17:03:30 +00:00
parent 80c7330166
commit 2a10f9ea96
2 changed files with 6 additions and 9 deletions

View File

@ -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);
*/
}

View File

@ -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);
}