summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ocserv/luasrc/controller/ocserv.lua')
-rw-r--r--applications/luci-app-ocserv/luasrc/controller/ocserv.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
index dbeaaf852..79c6ddb78 100644
--- a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
+++ b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua
@@ -28,7 +28,7 @@ function index()
call("ocserv_status")).leaf = true
entry({"admin", "services", "ocserv", "disconnect"},
- call("ocserv_disconnect")).leaf = true
+ post("ocserv_disconnect")).leaf = true
end