|
|
@@ -1350,7 +1350,7 @@ if [ "$iptables" = 'yes' ]; then
|
|
|
fi
|
|
|
|
|
|
# Get public IP
|
|
|
-pub_ip=$(curl -s https://www.hestiacp.com/what-is-my-ip/)
|
|
|
+pub_ip=$(curl --ipv4 -s https://www.hestiacp.com/what-is-my-ip/)
|
|
|
if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
|
|
|
echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
|
|
|
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip
|