luci-app-mosquitto: update tls versions for bridges as well

Earlier we updated the options list for tls versions for the broker's
own listeners, but we missed the list of tls versions used when
connecting to remote brokers.

Fixes: a7b1d63eb9 drop tls1.0, add tls1.3
Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
Karl Palsson 2020-01-16 11:16:07 +00:00
parent 4ace55712b
commit 26f219c026

View file

@ -209,9 +209,9 @@ psk_key.validate = validate_psk_key
b_tls_version = s:option(ListValue, "tls_version", _("TLS Version"),
_("The remote broker must support the same version of TLS for the connection to succeed."))
b_tls_version:value("", "Default")
b_tls_version:value("tlsv1")
b_tls_version:value("tlsv1.1")
b_tls_version:value("tlsv1.2")
b_tls_version:value("tlsv1.3")
b_tls_version.optional = true
o = s:option(Value, "cafile", _("Path to CA file"))