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

Strip /* from the end of the IPv6 address

Fixes #1536
This commit is contained in:
Mcat12 2017-06-24 11:14:23 -04:00 committed by GitHub
parent 536585b846
commit cb09e0bc9a

View File

@ -123,9 +123,9 @@ AddDomain() {
fi fi
elif [[ "${list}" == "${wildcardlist}" ]]; then elif [[ "${list}" == "${wildcardlist}" ]]; then
source "${piholeDir}/setupVars.conf" 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%/*} IPV4_ADDRESS=${IPV4_ADDRESS%/*}
IPV6_ADDRESS=${IPV6_ADDRESS} IPV6_ADDRESS=${IPV6_ADDRESS%/*}
bool=true bool=true
# Is the domain in the list? # Is the domain in the list?