mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +00:00
Fix bypass for custom domains
This commit is contained in:
parent
faa4f0f793
commit
5126ed5710
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ _bypass_proto() {
|
||||||
domains="$(cat /proc/net/xt_ndpi/host_proto | grep -i $proto: | sed -e "s/$proto://" -e 's/*//' -e 's/,/ /g')"
|
domains="$(cat /proc/net/xt_ndpi/host_proto | grep -i $proto: | sed -e "s/$proto://" -e 's/*//' -e 's/,/ /g')"
|
||||||
if [ -n "$domains" ]; then
|
if [ -n "$domains" ]; then
|
||||||
for domain in $domains; do
|
for domain in $domains; do
|
||||||
if [ -n "$domain" ] && [ "$(uci -q show omr-bypass | grep $domain)" = "" ]; then
|
if [ -n "$domain" ]; then
|
||||||
_bypass_domain $domain $intf
|
_bypass_domain $domain $intf
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue