1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-08 23:20:56 +00:00

Merge pull request #1564 from pi-hole/fix/ipv6-cidr

Fix gravity generation when IPv6 CIDR is present
This commit is contained in:
Mcat12 2017-06-26 10:04:06 -04:00 committed by GitHub
commit 89a22ded54

View File

@ -43,9 +43,9 @@ else
exit 1
fi
# 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%/*}
# Variables for various stages of downloading and formatting the list
basename=pihole