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:
parent
2c8322ce7c
commit
ce7daa396a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue