From cb09e0bc9af11625729c7976cf50c771b44c0299 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sat, 24 Jun 2017 11:14:23 -0400 Subject: [PATCH] Strip `/*` from the end of the IPv6 address Fixes #1536 --- advanced/Scripts/list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/list.sh b/advanced/Scripts/list.sh index 9d587296..e7151cf6 100755 --- a/advanced/Scripts/list.sh +++ b/advanced/Scripts/list.sh @@ -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?