mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-09 21:55:13 +02:00
Merge pull request #12 from AlpayY/patch-1
Fixed issue with example script not being able to get the current IP address
This commit is contained in:
commit
f0b09747ab
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue