diff --git a/dsmon.sh b/dsmon.sh index 67c0762..3664ce4 100755 --- a/dsmon.sh +++ b/dsmon.sh @@ -62,7 +62,7 @@ RUN(){ SERVERIP=(`hostname -I`) SERVERIPS='' for nip in "${SERVERIP[@]}"; do - if [[ "${nip}" == *"."* ]] && [[ "${nip}" != *"172"* ]]; then + if [[ "${nip}" == *"."* ]] && [[ "${nip}" != *"172"* ]] && [[ "${nip}" != *"169"* ]]; then if [ "${SERVERIPS}" = "" ]; then SERVERIPS=${nip} else