blockcheck: fix - sign regression

This commit is contained in:
bol-van
2025-10-28 21:50:46 +03:00
parent cea968d259
commit 1408c38522

View File

@@ -247,7 +247,7 @@ mdig_vars()
# $1 - ip version 4/6
# $2 - hostname
hostvar=$(echo $2 | sed -e 's/[\.-/?&#@%*$^:~=!()]/_/g')
hostvar=$(echo $2 | sed -e 's/[\./?&#@%*$^:~=!()+-]/_/g')
cachevar=DNSCACHE_${hostvar}_$1
countvar=${cachevar}_COUNT
eval count=\$${countvar}
@@ -297,7 +297,7 @@ mdig_resolve_all()
# $1 - ip version 4/6
# $2 - hostname
local hostvar cachevar countvar count ip ips n
local hostvar cachevar countvar count ip ips n sdom
split_by_separator "$2" / sdom
mdig_vars "$1" "$sdom"