diff options
author | jose1711 <jose1711@gmail.com> | 2017-06-26 00:06:57 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-07-17 09:32:09 +0200 |
commit | c48fccc31029f3471c37a90c14bde2a8acd47ce7 (patch) | |
tree | c822396a6b555dc2ee196ed11b48f6943fdd9e63 /applications/luci-app-openvpn/luasrc | |
parent | c58d5f6977236b1dfb60ff4f4e19b86ee2b3d92a (diff) |
luci-app-openvpn: fix client_disconnect OpenVPN option
This option is not a flag.
Signed-off-by: Jose Riha <jose1711@gmail.com>
[Changed commit message and add missing Singed-off-by]
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 |
1 files changed, 2 insertions, 2 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 40201bace..41581f4c7 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -142,9 +142,9 @@ local knownParams = { "client_connect", "/usr/bin/ovpn-clientconnect", translate("Run script cmd on client connection") }, - { Flag, + { Value, "client_disconnect", - 0, + "/usr/bin/ovpn-clientdisconnect", translate("Run script cmd on client disconnection") }, { Value, "learn_address", |