luci-app-shadowsocks-libev: fix setting boolean option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
54c1772ad9
commit
56e9ac6642
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ m = Map("shadowsocks-libev",
|
||||||
local sdata = m:get('ss_rules')
|
local sdata = m:get('ss_rules')
|
||||||
if not sdata then
|
if not sdata then
|
||||||
m:set('ss_rules', nil, 'ss_rules')
|
m:set('ss_rules', nil, 'ss_rules')
|
||||||
m:set('ss_rules', 'disabled', true)
|
m:set('ss_rules', 'disabled', "1")
|
||||||
end
|
end
|
||||||
|
|
||||||
function src_dst_option(s, ...)
|
function src_dst_option(s, ...)
|
||||||
|
|
Loading…
Reference in a new issue