diff options
author | Dirk Brenken <dev@brenken.org> | 2018-09-16 08:42:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-16 08:42:21 +0200 |
commit | 5cb6c1c698a8e4d7214ed5d18d5324df8c3faed6 (patch) | |
tree | 2b15827b0373ff33f16658fe7e4150cd0bd13056 /applications | |
parent | 3c4d2ebb87b69d8cde1b9a81698f694815f1b944 (diff) | |
parent | 1eb3f734c7f4830022f99e304d38156c2520c676 (diff) |
Merge pull request #2149 from dibdot/openvpn-fix
luci-app-openvpn: fix template based config creation
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua index a6b0e1dd9..93a901e9b 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua @@ -59,7 +59,7 @@ function s.create(self, name) if #name > 3 and not name:match("[^a-zA-Z0-9_]") then uci:section( "openvpn", "openvpn", name, - uci:get_all( "openvpn_recipes", recipe ) + { uci:get_all( "openvpn_recipes", recipe ) } ) uci:delete("openvpn", name, "_role") |