From 9446333d6ecc84e474d80a736a93e23948d99f05 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sat, 25 Apr 2020 12:27:57 +0800 Subject: [PATCH] luci-app-sfe: drop outdated option --- package/lean/luci-app-sfe/luasrc/model/cbi/sfe.lua | 5 ----- package/lean/luci-app-sfe/po/zh-cn/sfe.po | 5 ----- package/lean/luci-app-sfe/root/etc/config/sfe | 1 - package/lean/luci-app-sfe/root/etc/init.d/sfe | 3 --- 4 files changed, 14 deletions(-) diff --git a/package/lean/luci-app-sfe/luasrc/model/cbi/sfe.lua b/package/lean/luci-app-sfe/luasrc/model/cbi/sfe.lua index eae4f2145e..7ebdc4749e 100644 --- a/package/lean/luci-app-sfe/luasrc/model/cbi/sfe.lua +++ b/package/lean/luci-app-sfe/luasrc/model/cbi/sfe.lua @@ -37,11 +37,6 @@ bbr.default = 0 bbr.rmempty = false bbr.description = translate("Bottleneck Bandwidth and Round-trip propagation time (BBR)") -aaaa = s:option(Flag, "filter_aaaa", translate("Filter AAAA")) -aaaa.default = 1 -aaaa.rmempty = false -aaaa.description = translate("Dnsmasq rejects IPv6 parsing and optimizes domestic complex dual-stack network") - dns = s:option(Flag, "dns", translate("DNS Acceleration")) dns.default = 0 dns.rmempty = false diff --git a/package/lean/luci-app-sfe/po/zh-cn/sfe.po b/package/lean/luci-app-sfe/po/zh-cn/sfe.po index 7d991d9a43..91fa321718 100644 --- a/package/lean/luci-app-sfe/po/zh-cn/sfe.po +++ b/package/lean/luci-app-sfe/po/zh-cn/sfe.po @@ -79,8 +79,3 @@ msgstr "支持dnsforwarder解析多个上游IPV6 DNS服务器,用','分隔( msgid "AdGuardHome's login username/passwd: AdGuardHome, web console addr: IP:3001" msgstr "AdGuardHome 网页控制台地址:IP:3001 登录账号/密码:AdGuardHome" -msgid "Filter AAAA" -msgstr "忽略域名的IPv6地址" - -msgid "Dnsmasq rejects IPv6 parsing and optimizes domestic complex dual-stack network" -msgstr "dnsmasq不返回ipv6解析结果,优化国内复杂双栈网络" diff --git a/package/lean/luci-app-sfe/root/etc/config/sfe b/package/lean/luci-app-sfe/root/etc/config/sfe index f1ebd3995d..b48624ca65 100644 --- a/package/lean/luci-app-sfe/root/etc/config/sfe +++ b/package/lean/luci-app-sfe/root/etc/config/sfe @@ -3,7 +3,6 @@ config sfe option ipv6 '0' option wifi '0' option bbr '0' - option filter_aaaa '1' option dns '0' option dnscache_enable '1' option dns_server '114.114.114.114,114.114.115.115,223.5.5.5,223.6.6.6,180.76.76.76,119.29.29.29,119.28.28.28,1.2.4.8,210.2.4.8' diff --git a/package/lean/luci-app-sfe/root/etc/init.d/sfe b/package/lean/luci-app-sfe/root/etc/init.d/sfe index bb787af93f..9b137f38ce 100755 --- a/package/lean/luci-app-sfe/root/etc/init.d/sfe +++ b/package/lean/luci-app-sfe/root/etc/init.d/sfe @@ -270,9 +270,6 @@ start_service() { sysctl -w net.ipv4.tcp_congestion_control=cubic fi - uci set dhcp.@dnsmasq[0].filter_aaaa=$(uci get sfe.@sfe[0].filter_aaaa) - uci commit dhcp - if [ "$DNSMASQ_RESTART" = N ]; then /etc/init.d/dnsmasq restart fi