Merge pull request #1107 from TDT-GmbH/openvpn_remote_random
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 12 Apr 2017 07:08:14 +0000 (10:08 +0300)
committerGitHub <noreply@github.com>
Wed, 12 Apr 2017 07:08:14 +0000 (10:08 +0300)
luci-app-openvpn: Fix default value for remote_random flag

applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index d0771e5..92f78a8 100644 (file)
@@ -511,7 +511,7 @@ local knownParams = {
                        { client="1" } },
                { Flag,
                        "remote_random",
-                       1,
+                       0,
                        translate("Randomly choose remote server"),
                        { client="1" } },
                { ListValue,