1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00

add "fc" private ipv6

This commit is contained in:
OniriCorpe 2023-12-27 06:28:26 +01:00
parent 2c8322ce7c
commit ce7daa396a

View file

@ -14,7 +14,7 @@ is_public_ip(){
if [[ "$IP" =~ ^10.*|^169.*|^172.*|^192.168.* ]] ; then if [[ "$IP" =~ ^10.*|^169.*|^172.*|^192.168.* ]] ; then
# private ipv4 # private ipv4
returns false returns false
elif [[ "$IP" =~ ^fd*|^fe80:* ]] ; then elif [[ "$IP" =~ ^fc*|^fd*|^fe80:* ]] ; then
# private ipv6 # private ipv6
returns false returns false
else else