summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/model
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-08-14 01:01:23 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-08-20 01:25:57 +0800
commite47366a8a13e2a89d950a2ae2dea144d7931f3b7 (patch)
tree0c12f0daf1b3785ebcbeabbc8c8ffae3f361a822 /applications/luci-app-shadowsocks-libev/luasrc/model
parentad81dc1889843ef295984a7d0ad714f154eaed9c (diff)
luci-app-shadowsocks-libev: fix typo in setting ss_rules.disabled=true
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model')
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
index 5df59cb0a..1a3dcb883 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua
@@ -19,7 +19,7 @@ m = Map("shadowsocks-libev",
local sdata = m:get('ss_rules')
if not sdata then
m:set('ss_rules', nil, 'ss_rules')
- m:set('ss_rules', 'ss_rules', 'disabled', true)
+ m:set('ss_rules', 'disabled', true)
end
s = m:section(NamedSection, "ss_rules", "ss_rules")