mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-09 07:30:56 +00:00
Merge pull request #1556 from pi-hole/fix/invalid-ipv6-wildcard
Fix wildcarding with IPv6
This commit is contained in:
commit
a3758612ec
@ -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?
|
||||||
|
Loading…
Reference in New Issue
Block a user