From 8728c239ccf8e8c3731cae20b25fe6cafb00b400 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 26 Jul 2020 04:58:28 +0200 Subject: [PATCH] Update v-update-sys-ip --- bin/v-update-sys-ip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-update-sys-ip b/bin/v-update-sys-ip index 929f2a636..0186a3940 100755 --- a/bin/v-update-sys-ip +++ b/bin/v-update-sys-ip @@ -110,7 +110,7 @@ for ip in $ips; do done # Updating NAT -pub_ip=$(curl -s https://scripts.myvestacp.com/ip.php) +pub_ip=$(curl -4 -s https://scripts.myvestacp.com/ip.php) if [ ! -e "$VESTA/data/ips/$pub_ip" ]; then if [ -z "$(grep -R "$pub_ip" $VESTA/data/ips/)" ]; then ip=$(ls -t $VESTA/data/ips/ |head -n1)