diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-10-09 21:36:03 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-10-09 21:36:03 +0000 |
commit | 61d0ac9dcfdf8260ad7da4dad3004b40ae4eaefa (patch) | |
tree | cb3f44ea50298df20795cabc30e53228a9439d7b | |
parent | 6a8ceca13aaf50c7da0c5640eaef5f6f60b48b38 (diff) |
Change the default UDP port to 0.
svn path=/trunk/; revision=52480
-rw-r--r-- | epan/dissectors/packet-gsm_ipa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_ipa.c b/epan/dissectors/packet-gsm_ipa.c index 612f04debd..6ed9a06f9c 100644 --- a/epan/dissectors/packet-gsm_ipa.c +++ b/epan/dissectors/packet-gsm_ipa.c @@ -75,6 +75,7 @@ */ #define IPA_TCP_PORTS "3002,3003,3006,4249,4250,5000" #define IPA_UDP_PORTS "3006" +#define IPA_UDP_PORTS_DEFAULT "0" static dissector_handle_t ipa_handle; static range_t *global_ipa_tcp_ports = NULL; @@ -448,7 +449,7 @@ void proto_register_ipa(void) range_convert_str(&global_ipa_tcp_ports, IPA_TCP_PORTS, MAX_TCP_PORT); - range_convert_str(&global_ipa_udp_ports, IPA_UDP_PORTS, MAX_UDP_PORT); + range_convert_str(&global_ipa_udp_ports, IPA_UDP_PORTS_DEFAULT, MAX_UDP_PORT); ipa_module = prefs_register_protocol(proto_ipa, proto_reg_handoff_gsm_ipa); @@ -460,7 +461,7 @@ void proto_register_ipa(void) prefs_register_range_preference(ipa_module, "udp_ports", "GSM IPA UDP Port(s)", "Set the port(s) for ip.access IPA" - " (default: " IPA_UDP_PORTS ")", + " (usually: " IPA_UDP_PORTS ")", &global_ipa_udp_ports, MAX_UDP_PORT); prefs_register_bool_preference(ipa_module, "hsl_debug_in_root_tree", |