mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Remove duplicate in protocol list of omr-bypass
This commit is contained in:
parent
edf0362615
commit
c22707f48a
2 changed files with 3 additions and 3 deletions
|
@ -277,7 +277,7 @@ _bypass_proto() {
|
|||
fi
|
||||
# Use dnsmasq ipset to bypass domains of the proto
|
||||
local domains
|
||||
domains="$(cat /proc/net/xt_ndpi/host_proto | grep $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
|
||||
for domain in $domains; do
|
||||
if [ -n "$domain" ] && [ "$(uci -q show omr-bypass | grep $domain)" = "" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue