From aca18c7b94175784d3376855976af40816311ddf Mon Sep 17 00:00:00 2001 From: ShanStone <31815718+ShanStone@users.noreply.github.com> Date: Thu, 18 May 2023 19:55:27 +0800 Subject: [PATCH] luci: fix nftset/ipset typo --- luci-app-passwall/Makefile | 2 +- .../root/usr/share/passwall/helper_dnsmasq_add.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 571cdc497..787364b02 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall -PKG_VERSION:=4.66-4 +PKG_VERSION:=4.66-5 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq_add.lua b/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq_add.lua index 8a4c90a90..b47cacbd3 100644 --- a/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq_add.lua +++ b/luci-app-passwall/root/usr/share/passwall/helper_dnsmasq_add.lua @@ -197,10 +197,10 @@ if not fs.access(CACHE_DNS_PATH) then local address = t.address if datatypes.hostname(address) then set_domain_dns(address, LOCAL_DNS) - set_domain_ipset(address, setflag_4 .. "passwall_vpsiplist," .. setflag_6 .. "passwall_vpsiplist6") + set_domain_ipset(address, setflag_4 .. "passwall_vpslist," .. setflag_6 .. "passwall_vpslist6") end end) - log(string.format(" - 节点列表中的域名(vpsiplist):%s", LOCAL_DNS or "默认")) + log(string.format(" - 节点列表中的域名(vpslist):%s", LOCAL_DNS or "默认")) --始终用国内DNS解析直连(白名单)列表 for line in io.lines("/usr/share/passwall/rules/direct_host") do