Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* fix vernesong#3348

* Update openclash
  • Loading branch information
nick008a authored and zheshifandian committed Jun 28, 2023
1 parent 1ec12d9 commit 2f4b86e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luci-app-openclash/root/etc/init.d/openclash
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ if [ -n "$FW4" ]; then
ACBLACKDNSFILTER=""
if [ "$lan_ac_mode" = "0" ]; then
if [ -n "$(uci -q get openclash.config.lan_ac_black_ips)" ]; then
ACBLACKDNSFILTER="ip saddr != @lan_ac_black_ipv6s"
ACBLACKDNSFILTER="ip6 saddr != @lan_ac_black_ipv6s"
fi
if [ -n "$(uci -q get openclash.config.lan_ac_black_macs)" ]; then
ACBLACKDNSFILTER="$ACBLACKDNSFILTER ether saddr != @lan_ac_black_macs"
Expand All @@ -1860,7 +1860,7 @@ if [ -n "$FW4" ]; then
ACBLACKDNSFILTER=""
if [ "$lan_ac_mode" = "0" ]; then
if [ -n "$(uci -q get openclash.config.lan_ac_black_ips)" ]; then
ACBLACKDNSFILTER="ip saddr != @lan_ac_black_ipv6s"
ACBLACKDNSFILTER="ip6 saddr != @lan_ac_black_ipv6s"
fi
if [ -n "$(uci -q get openclash.config.lan_ac_black_macs)" ]; then
ACBLACKDNSFILTER="$ACBLACKDNSFILTER ether saddr != @lan_ac_black_macs"
Expand Down

0 comments on commit 2f4b86e

Please sign in to comment.