commit f0b09747ab1e6f95967fb8cb4741794f598af048
parent 7f6291964e4aca4c612c69dc7839077623bde1f2
Author: Felix Kretschmer <5871630+fernwerker@users.noreply.github.com>
Date: Thu, 27 Aug 2020 08:43:30 +0200
Merge pull request #12 from AlpayY/patch-1
Fixed issue with example script not being able to get the current IP address
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/update-dyndns.sh b/examples/update-dyndns.sh
@@ -10,8 +10,8 @@ SCRIPT="https://<url of your webspace>/update.php"
FORCE=0
MODE="both" # can be undefined, "@", "*" or "both"
-IPV4=$(curl -4 -q ident.me)
-IPV6=$(curl -6 -q ident.me)
+IPV4=$(curl -4 -q v4.ident.me)
+IPV6=$(curl -6 -q v6.ident.me)
echo ${IPV4}
echo ${IPV6}