This commit is contained in:
Eliezer Croitoru 2021-08-02 01:19:59 +03:00
parent 69e1739ff5
commit e8c8392bf9

View File

@ -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