diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2017-08-22 00:02:53 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2017-08-22 20:19:49 +0800 |
commit | 56e9ac6642c580cdd121e1bcd0f3bbd924c44dd0 (patch) | |
tree | bb61907fa6620b9840bfdeaa473a3810a1a64287 /applications/luci-app-shadowsocks-libev/luasrc | |
parent | 54c1772ad90557a111b33d01348dbd32b6377af1 (diff) |
luci-app-shadowsocks-libev: fix setting boolean option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/luasrc')
-rw-r--r-- | applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua | 2 |
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 83e16982f..1f5a9d22f 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', 'disabled', true) + m:set('ss_rules', 'disabled', "1") end function src_dst_option(s, ...) |