mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Merge pull request #1556 from pi-hole/fix/invalid-ipv6-wildcard
Fix wildcarding with IPv6
This commit is contained in:
commit
a3758612ec
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue