File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1379,7 +1379,7 @@ if [ "$iptables" = 'yes' ]; then
13791379fi
13801380
13811381# Get public ip
1382- pub_ip=$( curl -s https://www.hestiacp.com/what-is-my-ip/)
1382+ pub_ip=$( curl --ipv4 - s https://www.hestiacp.com/what-is-my-ip/)
13831383
13841384if [ ! -z " $pub_ip " ] && [ " $pub_ip " != " $ip " ]; then
13851385 $HESTIA /bin/v-change-sys-ip-nat $ip $pub_ip
Original file line number Diff line number Diff line change @@ -1350,7 +1350,7 @@ if [ "$iptables" = 'yes' ]; then
13501350fi
13511351
13521352# Get public IP
1353- pub_ip=$( curl -s https://www.hestiacp.com/what-is-my-ip/)
1353+ pub_ip=$( curl --ipv4 - s https://www.hestiacp.com/what-is-my-ip/)
13541354if [ ! -z " $pub_ip " ] && [ " $pub_ip " != " $ip " ]; then
13551355 echo " $HESTIA /bin/v-update-sys-ip" >> /etc/rc.local
13561356 $HESTIA /bin/v-change-sys-ip-nat $ip $pub_ip
You can’t perform that action at this time.
0 commit comments