diff options
author | Peter Holm <pho@FreeBSD.org> | 2022-03-18 06:34:07 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2022-03-18 06:34:07 +0000 |
commit | 314ebfa2e9c55360fb2f8580a08b2d8e448bcc47 (patch) | |
tree | b6233b8816e9f38cc0d7a7477b44224773cb4b3c /tools | |
parent | bfdcd042bc8cd9fe5b26a662d3716bed9a9c2483 (diff) | |
download | src-314ebfa2e9c55360fb2f8580a08b2d8e448bcc47.tar.gz src-314ebfa2e9c55360fb2f8580a08b2d8e448bcc47.zip |
stress2: Limit console warnings
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test/stress2/misc/ifconfig.sh | 2 | ||||
-rwxr-xr-x | tools/test/stress2/misc/ifconfig2.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/stress2/misc/ifconfig.sh b/tools/test/stress2/misc/ifconfig.sh index 6359711a0445..7b3c7e317ec3 100755 --- a/tools/test/stress2/misc/ifconfig.sh +++ b/tools/test/stress2/misc/ifconfig.sh @@ -50,7 +50,7 @@ start=`date +%s` while [ $((`date +%s` - start)) -lt 300 ]; do for i in `jot 255`; do (ifconfig $if.$i create - ifconfig $if.$i inet 224.0.0.$i + ifconfig $if.$i inet 224.0.0.$i netmask 255.255.255.0 ifconfig $if.$i destroy) > /dev/null 2>&1 & done wait diff --git a/tools/test/stress2/misc/ifconfig2.sh b/tools/test/stress2/misc/ifconfig2.sh index 61abbab3dd54..273db43a329d 100755 --- a/tools/test/stress2/misc/ifconfig2.sh +++ b/tools/test/stress2/misc/ifconfig2.sh @@ -53,7 +53,7 @@ for i in `jot 5`; do done while [ -f $sync ]; do ifconfig $if.$i create - ifconfig $if.$i inet 224.0.0.$i + ifconfig $if.$i inet 224.0.0.$i netmask 255.255.255.0 ifconfig $if.$i destroy done ) > /dev/null 2>&1 & |