diff --git a/ddns-updater.sh b/ddns-updater.sh index b740a37..f55e007 100644 --- a/ddns-updater.sh +++ b/ddns-updater.sh @@ -34,7 +34,7 @@ providers=( ipv4_public=$(dig xxx.myfritz.net A +short) # obtain ipv6 of br0 device -ipv6_public=$(ip -6 addr show dev br0 scope global | grep -oP "(?<=inet6 )[^/]+" | head -n 1) +ipv6_public=$(ip -6 addr show dev br0 scope global -deprecated | grep -oP "(?<=inet6 )[^/]+" | head -n 1) # ######### Script ####################