luci-app-sfe: drop outdated option

This commit is contained in:
CN_SZTL 2020-04-25 12:27:57 +08:00
parent c5b7a0d3a4
commit 9446333d6e
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 0 additions and 14 deletions

View File

@ -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

View File

@ -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解析结果,优化国内复杂双栈网络"

View File

@ -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'

View File

@ -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