1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

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?