Merge pull request #1556 from pi-hole/fix/invalid-ipv6-wildcard

Fix wildcarding with IPv6
This commit is contained in:
Mcat12 2017-06-25 18:09:26 -04:00 committed by GitHub
commit a3758612ec

View file

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