The branch main has been updated by pho:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=314ebfa2e9c55360fb2f8580a08b2d8e448bcc47

commit 314ebfa2e9c55360fb2f8580a08b2d8e448bcc47
Author:     Peter Holm <p...@freebsd.org>
AuthorDate: 2022-03-18 06:34:07 +0000
Commit:     Peter Holm <p...@freebsd.org>
CommitDate: 2022-03-18 06:34:07 +0000

    stress2: Limit console warnings
---
 tools/test/stress2/misc/ifconfig.sh  | 2 +-
 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 &

Reply via email to