Skip to content

Commit

Permalink
fix add_utun_firewall_zone (#3802)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcseputetto authored Mar 15, 2024
1 parent fa1cc40 commit f0c1cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci-app-openclash/root/etc/uci-defaults/luci-openclash
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ add_utun_firewall_zone()
config_get "name" "$section" "name" ""
config_get "network" "$section" "network" ""
if [ "$name" = "lan" ] && [ -z "$(echo $network |grep utun)" ]; then
uci -q set firewall."$section".network="$network utun"
uci -q add_list firewall."$section".network="utun"
uci -q commit firewall
fi
}
Expand Down

0 comments on commit f0c1cff

Please sign in to comment.