From 56e9ac6642c580cdd121e1bcd0f3bbd924c44dd0 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 22 Aug 2017 00:02:53 +0800 Subject: luci-app-shadowsocks-libev: fix setting boolean option Signed-off-by: Yousong Zhou --- .../luasrc/model/cbi/shadowsocks-libev/rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev') 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 83e16982f5..1f5a9d22ff 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, ...) -- cgit v1.2.3