Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vernesong committed Sep 20, 2024
1 parent 6543ddd commit 1cd343f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci-app-openclash/root/usr/share/openclash/yml_change.sh
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ Thread.new{
end;
end;
if '$1' == 'fake-ip' then
if '$china_ip_route' != '0' then
if '$china_ip_route' != '0' or '$china_ip6_route' != '0' then
if Value['dns']['fake-ip-filter-mode'] == 'blacklist' or not Value['dns'].has_key?('fake-ip-filter-mode') then
if Value['dns'].has_key?('fake-ip-filter') and not Value['dns']['fake-ip-filter'].to_a.empty? then
Value['dns']['fake-ip-filter'].insert(-1,'geosite:cn');
Expand Down

0 comments on commit 1cd343f

Please sign in to comment.