From db0412666f5e3cc6326f64182241c9eccee8929d Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Fri, 3 Jun 2011 23:07:02 +0000 Subject: applications/openvpn: Add script_security and topology options (#251) --- applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 13dfd1297..da97ee986 100644 --- a/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -58,6 +58,7 @@ local knownParams = { { Flag, "client_disconnect", 0 }, { Value, "learn_address", "/usr/bin/ovpn-learnaddress" }, { Value, "auth_user_pass_verify", "/usr/bin/ovpn-userpass via-env" }, + { ListValue, "script_security", { 0, 1, 2, 3 }, {mode="server" } }, } }, { "networking", { @@ -115,6 +116,7 @@ local knownParams = { { Flag, "management_query_passwords", 0 }, -- management { Flag, "management_hold", 0 }, -- management { Flag, "management_log_cache", 100 }, -- management + { ListValue, "topology", { "net30", "p2p", "subnet" }, {dev_type="tun" } }, } }, { "vpn", { -- cgit v1.2.3