forked from osmocom/wireshark
Add obsolete ssl[._]port preferences.
gcd95e197ca renamed a bunch of "<proto>.ssl.port" preferences to "<proto>.tls.port" but neglected to add obsolete entries for the old preferences. Do so here. Rename couchbase.tls_port to couchbase.tls.port to be in line with the other TLS port preferences. Change-Id: Ie23d6be0a5cb3616f37e41dbfbf13ad1b7206473 Reviewed-on: https://code.wireshark.org/review/29829 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
42c9bee36f
commit
4b9a4bcb74
|
@ -2208,6 +2208,7 @@ void proto_register_ldap(void) {
|
|||
prefs_register_uint_preference(ldap_module, "tls.port", "LDAPS TCP Port",
|
||||
"Set the port for LDAP operations over TLS",
|
||||
10, &global_ldaps_tcp_port);
|
||||
prefs_register_obsolete_preference(ldap_module, "ssl.port");
|
||||
/* UAT */
|
||||
attributes_uat = uat_new("Custom LDAP AttributeValue types",
|
||||
sizeof(attribute_type_t),
|
||||
|
|
|
@ -13409,6 +13409,7 @@ proto_register_amqp(void)
|
|||
"Set the TCP port for AMQP over SSL/TLS"
|
||||
"(if other than the default of 5671)",
|
||||
10, &amqps_port);
|
||||
prefs_register_obsolete_preference(amqp_module, "ssl.port");
|
||||
|
||||
register_decode_as(&amqp_da);
|
||||
}
|
||||
|
|
|
@ -2582,9 +2582,10 @@ proto_register_couchbase(void)
|
|||
" to reassemble TCP streams\" in the TCP protocol settings.",
|
||||
&couchbase_desegment_body);
|
||||
|
||||
prefs_register_uint_preference(couchbase_module, "tls_port", "SSL/TLS Data Port",
|
||||
prefs_register_uint_preference(couchbase_module, "tls.port", "SSL/TLS Data Port",
|
||||
"The port used for communicating with the data service via SSL/TLS",
|
||||
10, &couchbase_ssl_port_pref);
|
||||
prefs_register_obsolete_preference(couchbase_module, "ssl_port");
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -4017,6 +4017,7 @@ proto_register_http(void)
|
|||
prefs_register_range_preference(http_module, "tls.port", "SSL/TLS Ports",
|
||||
"SSL/TLS Ports range",
|
||||
&global_http_ssl_range, 65535);
|
||||
prefs_register_obsolete_preference(http_module, "ssl.port");
|
||||
/* UAT */
|
||||
headers_uat = uat_new("Custom HTTP Header Fields",
|
||||
sizeof(header_field_t),
|
||||
|
|
|
@ -5755,6 +5755,7 @@ void proto_register_ldap(void) {
|
|||
prefs_register_uint_preference(ldap_module, "tls.port", "LDAPS TCP Port",
|
||||
"Set the port for LDAP operations over TLS",
|
||||
10, &global_ldaps_tcp_port);
|
||||
prefs_register_obsolete_preference(ldap_module, "ssl.port");
|
||||
/* UAT */
|
||||
attributes_uat = uat_new("Custom LDAP AttributeValue types",
|
||||
sizeof(attribute_type_t),
|
||||
|
@ -5905,7 +5906,7 @@ proto_reg_handoff_ldap(void)
|
|||
|
||||
|
||||
/*--- End of included file: packet-ldap-dis-tab.c ---*/
|
||||
#line 2345 "./asn1/ldap/packet-ldap-template.c"
|
||||
#line 2346 "./asn1/ldap/packet-ldap-template.c"
|
||||
|
||||
dissector_add_uint_range_with_preference("tcp.port", TCP_PORT_RANGE_LDAP, ldap_handle);
|
||||
}
|
||||
|
|
|
@ -142,6 +142,7 @@ void proto_register_opa_fe(void)
|
|||
prefs_register_range_preference(opa_fe_module, "tls.port", "SSL/TLS Ports",
|
||||
"SSL/TLS Ports range",
|
||||
&global_fe_ssl_range, 65535);
|
||||
prefs_register_obsolete_preference(opa_fe_module, "ssl.port");
|
||||
}
|
||||
|
||||
void proto_reg_handoff_opa_fe(void)
|
||||
|
|
Loading…
Reference in New Issue