From ce7daa396a957411bc86982784d9a5732c83cadb Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 27 Dec 2023 06:28:26 +0100 Subject: [PATCH] add "fc" private ipv6 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d44411c..5972415 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -14,7 +14,7 @@ is_public_ip(){ if [[ "$IP" =~ ^10.*|^169.*|^172.*|^192.168.* ]] ; then # private ipv4 returns false - elif [[ "$IP" =~ ^fd*|^fe80:* ]] ; then + elif [[ "$IP" =~ ^fc*|^fd*|^fe80:* ]] ; then # private ipv6 returns false else