Remove /* from IPv6 as well as IPv4

Fixes Discourse issue: https://discourse.pi-hole.net/t/ipv6-aaaa-dns-issue/3830
This commit is contained in:
Mcat12 2017-06-26 09:51:21 -04:00 committed by GitHub
parent b477b7f777
commit 1e31fa89aa

View file

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