diff --git a/set_ip.sh b/set_ip.sh index 12e4881..155e0a6 100644 --- a/set_ip.sh +++ b/set_ip.sh @@ -13,7 +13,7 @@ else if [ ! -e cloudflare.json ] || [ ! -e config.ini ]; then echo "Cloudflare config not found, is the script run in the correct directory?" else - ipv4=$(curl -k -s https://am.i.mullvad.net/ip) + ipv4=$(curl -k -s https://am.i.mullvad.net/ip -4) ipv6=$(curl -k -s https://ipv6.am.i.mullvad.net/) source venv/bin/activate python3 ./cloudflare_script.py 4 "$ipv4"