diff --git a/mm-scripts.sh b/mm-scripts.sh index 48911f1..39535f0 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -977,8 +977,8 @@ MMSETUP(){ elif [ "$REPIP" != "$IPADDRESS" ]; then echo "$REPIP != $IPADDRESS" NETCHNG=true - elif [ "$REPSUB" != "$NEWUB" ]; then - echo "$REPSUB != $NEWUB" + elif [ "$REPSUB" != "$NEWSUB" ]; then + echo "$REPSUB != $NEWSUB" NETCHNG=true elif [ "$REPGW" != "$GATEWAY" ]; then echo "$REPGW != $GATEWAY"