modified: package/lean/luci-app-flowoffload/luasrc/controller/flowoffload.lua

This commit is contained in:
CN_SZTL 2019-07-13 16:54:34 +08:00
parent aaa8dc97b4
commit ea9b5b0131
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -25,7 +25,7 @@ local function is_fullcone()
end
local function is_dns()
return luci.sys.call("[ `uci get flowoffload.@flow[0].dnscache_enable 2>/dev/null` -ne 3 ] && pgrep dnscache >/dev/null || pgrep AdGuardHome >/dev/null") == 0
return luci.sys.call("pgrep dnscache >/dev/null") == 0
end
local function is_ad()