Skip to content

Commit 40426d3

Browse files
authored
Merge pull request yjajkiew#2 from AdrienVannson/master
Use IPv4
2 parents b0dea71 + be2a27f commit 40426d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynhost.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CURRENT_DATE=`date`
1616
#
1717

1818
HOST_IP=`dig +short $HOST`
19-
CURRENT_IP=`curl ifconfig.co`
19+
CURRENT_IP=`curl -4 ifconfig.co`
2020

2121
#
2222
# DO THE WORK

0 commit comments

Comments
 (0)