diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index 9d587296..e7151cf6 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -123,9 +123,9 @@ AddDomain() { fi elif [[ "${list}" == "${wildcardlist}" ]]; then source "${piholeDir}/setupVars.conf" - # Remove the /* from the end of the IPv4addr. + # Remove the /* from the end of the IP addresses IPV4_ADDRESS=${IPV4_ADDRESS%/*} - IPV6_ADDRESS=${IPV6_ADDRESS} + IPV6_ADDRESS=${IPV6_ADDRESS%/*} bool=true # Is the domain in the list?