From 57d71f55bab81cc55dd4261d288ff4891f78445c Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 2 Jan 2025 22:40:39 +0100 Subject: [PATCH] Linux calls loopback interface lo. --- GNUmakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index c37f94b..ec268ad 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -72,10 +72,10 @@ test-mcast: TEST += mcast6 test-mcast6: @echo -e '\n==== $@ ====' - ./udpbench -Ilo0 -p0 -t3 recv ff04::123 | tee out & \ + ./udpbench -Ilo -p0 -t3 recv ff04::123 | tee out & \ sleep 1; \ port=`awk '/^sockname:/{print $$3}' out`; \ - ./udpbench -Ilo0 -L1 -T0 -p$$port -t1 \ + ./udpbench -Ilo -L1 -T0 -p$$port -t1 \ send ff04::123 || exit 1; \ wait $$! grep -q 'sockname: ff04::123 ' out @@ -95,10 +95,10 @@ test-mcast-repeat: TEST += mcast6-repeat test-mcast6-repeat: @echo -e '\n==== $@ ====' - ./udpbench -N2 -Ilo0 -p0 -t3 recv ff04::123 | tee out & \ + ./udpbench -N2 -Ilo -p0 -t3 recv ff04::123 | tee out & \ sleep 1; \ port=`awk '/^sockname:/{print $$3}' out | sort -u`; \ - ./udpbench -N2 -Ilo0 -L1 -T0 -p$$port -t1 \ + ./udpbench -N2 -Ilo -L1 -T0 -p$$port -t1 \ send ff04::123 || exit 1; \ wait $$! grep -q 'sockname: ff04::123 ' out