diff --git a/scripts/_common.sh b/scripts/_common.sh index 3d26a9c..03af121 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -9,8 +9,7 @@ #================================================= is_public_ip(){ - local IP - IP="$1" + local IP="$1" if [[ "$IP" =~ ^10.*|^169.*|^172.*|^192.168.* ]] ; then # private ipv4, so false return 1