43
This commit is contained in:
parent
69e1739ff5
commit
e8c8392bf9
@ -76,6 +76,10 @@ function dstdomain_to_regex() {
|
||||
dstdomain="0"
|
||||
dotsuffix="0"
|
||||
|
||||
if [ -z "${domain}" ];then
|
||||
return
|
||||
fi
|
||||
|
||||
echo "${domain}" | grep -e "^\." > /dev/null
|
||||
if [ "$?" -eq "0" ];then
|
||||
dstdomain=1
|
||||
|
Loading…
Reference in New Issue
Block a user