summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <manu@somakoma.de>2015-08-23 10:33:12 +0200
committerManuel Munz <manu@somakoma.de>2015-08-23 10:33:12 +0200
commit37f6bd557d56dec0c98a4e25a1acd111203cb3b8 (patch)
tree83309facb2cf80ab1bc5a2ffe75e426b802d286c
parent8597b86ebfd23e9501508e8f36d717637e21c21d (diff)
parent82fecb77091058759b4a268f00a575c47cdd93d7 (diff)
Merge pull request #447 from srdjanrosic/patch-1
Enable setting --script-security in client mode.
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index 7e39dad2eb..fa1530026a 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -48,7 +48,7 @@ local knownParams = {
{ Flag, "client_disconnect", 0, translate("Run script cmd on client disconnection") },
{ Value, "learn_address", "/usr/bin/ovpn-learnaddress", translate("Executed in server mode whenever an IPv4 address/route or MAC address is added to OpenVPN's internal routing table") },
{ Value, "auth_user_pass_verify", "/usr/bin/ovpn-userpass via-env", translate("Executed in server mode on new client connections, when the client is still untrusted") },
- { ListValue, "script_security", { 0, 1, 2, 3 }, translate("Policy level over usage of external programs and scripts"), {mode="server" } },
+ { ListValue, "script_security", { 0, 1, 2, 3 }, translate("Policy level over usage of external programs and scripts") },
} },
{ "Networking", {