luci-app-openvpn: Updates proto and mssfix params
- proto parameter is available in client or server mode in the network section. - mssfix default value is set to openvpn.org default value Signed-off-by: Philippe Duveau <philippe.duveau@free.fr>
This commit is contained in:
parent
b0c1354233
commit
9889d3f735
1 changed files with 5 additions and 6 deletions
|
@ -187,6 +187,10 @@ local knownParams = {
|
||||||
"rport",
|
"rport",
|
||||||
1194,
|
1194,
|
||||||
translate("TCP/UDP port # for remote (default=1194)") },
|
translate("TCP/UDP port # for remote (default=1194)") },
|
||||||
|
{ ListValue,
|
||||||
|
"proto",
|
||||||
|
{ "udp", "tcp-client", "tcp-server" },
|
||||||
|
translate("Use protocol") },
|
||||||
{ Flag,
|
{ Flag,
|
||||||
"float",
|
"float",
|
||||||
0,
|
0,
|
||||||
|
@ -283,7 +287,7 @@ local knownParams = {
|
||||||
{ proto="udp" } },
|
{ proto="udp" } },
|
||||||
{ Value,
|
{ Value,
|
||||||
"mssfix",
|
"mssfix",
|
||||||
1500,
|
1450,
|
||||||
translate("Set upper bound on TCP MSS"),
|
translate("Set upper bound on TCP MSS"),
|
||||||
{ proto="udp" } },
|
{ proto="udp" } },
|
||||||
{ Value,
|
{ Value,
|
||||||
|
@ -508,11 +512,6 @@ local knownParams = {
|
||||||
0,
|
0,
|
||||||
translate("Randomly choose remote server"),
|
translate("Randomly choose remote server"),
|
||||||
{ client="1" } },
|
{ client="1" } },
|
||||||
{ ListValue,
|
|
||||||
"proto",
|
|
||||||
{ "udp", "tcp-client", "tcp-server" },
|
|
||||||
translate("Use protocol"),
|
|
||||||
{ client="1" } },
|
|
||||||
{ Value,
|
{ Value,
|
||||||
"connect_retry",
|
"connect_retry",
|
||||||
5,
|
5,
|
||||||
|
|
Loading…
Reference in a new issue