Skip to content

Commit

Permalink
luci-app-openvpn: Updates proto and mssfix params
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
pduveau authored and systemcrash committed Jan 24, 2024
1 parent b0c1354 commit 9889d3f
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ local knownParams = {
"rport",
1194,
translate("TCP/UDP port # for remote (default=1194)") },
{ ListValue,
"proto",
{ "udp", "tcp-client", "tcp-server" },
translate("Use protocol") },
{ Flag,
"float",
0,
Expand Down Expand Up @@ -283,7 +287,7 @@ local knownParams = {
{ proto="udp" } },
{ Value,
"mssfix",
1500,
1450,
translate("Set upper bound on TCP MSS"),
{ proto="udp" } },
{ Value,
Expand Down Expand Up @@ -508,11 +512,6 @@ local knownParams = {
0,
translate("Randomly choose remote server"),
{ client="1" } },
{ ListValue,
"proto",
{ "udp", "tcp-client", "tcp-server" },
translate("Use protocol"),
{ client="1" } },
{ Value,
"connect_retry",
5,
Expand Down

0 comments on commit 9889d3f

Please sign in to comment.