blockcheck: filter out :

This commit is contained in:
bol-van
2025-10-28 18:24:32 +03:00
parent f91bca170a
commit cea968d259

View File

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