diff --git a/mm-scripts.sh b/mm-scripts.sh index 43cbc97..a21324f 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -734,7 +734,7 @@ MMSTATUS(){ # mmip=$(/usr/bin/dig +short +time=2 myip.opendns.com @208.67.222.222) mmip=$(dig +short txt ch whoami.cloudflare @1.0.0.1) mmip=${mmip//\"/} - if [ "${REALWANIP}" != "${mmip}" ]; then + if [ "${REALWANIP}" != "${mmip}" ] && [[ "${mmip}" != ";;"* ]]; then echo -e "${idsCL[Green]}Good${idsCL[Default]}" else echo -e "${idsCL[Red]}Not Routing${idsCL[Default]}"