summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/luasrc/controller/banip.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-banip/luasrc/controller/banip.lua')
-rw-r--r--applications/luci-app-banip/luasrc/controller/banip.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-banip/luasrc/controller/banip.lua b/applications/luci-app-banip/luasrc/controller/banip.lua
index e201295d5f..3d75bec4d0 100644
--- a/applications/luci-app-banip/luasrc/controller/banip.lua
+++ b/applications/luci-app-banip/luasrc/controller/banip.lua
@@ -1,4 +1,4 @@
--- Copyright 2018 Dirk Brenken (dev@brenken.org)
+-- Copyright 2018-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
module("luci.controller.banip", package.seeall)
@@ -30,8 +30,8 @@ function index()
end
function ban_action(name)
- if name == "do_refresh" then
- luci.sys.call("/etc/init.d/banip start >/dev/null 2>&1")
+ if name == "do_reload" then
+ luci.sys.call("/etc/init.d/banip reload >/dev/null 2>&1")
end
luci.http.prepare_content("text/plain")
luci.http.write("0")