Update pruebaRed.sh

This commit is contained in:
Manuel Vergara 2024-02-25 22:39:24 +01:00
parent add56873fa
commit b91d9db6a6

View File

@ -137,7 +137,7 @@ get_interfaces() {
# Obtener IP pública
get_public_ip_info() {
print_title "INFO IP WAN"
curl -s https://ipinfo.io | jq -r 'to_entries[] | "\u001b[34m\(.key):\u001b[0m \u001b[32m\(.value)\u001b[0m"'
curl -s https://ipinfo.io | jq -r 'to_entries[] | select(.key != "readme") | "\u001b[34m\(.key):\u001b[0m \u001b[32m\(.value)\u001b[0m"'
}
# Estado de nordvpn