Skip to content

Commit

Permalink
Linux calls loopback interface lo.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Jan 3, 2025
1 parent 9bef875 commit 57d71f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 57d71f5

Please sign in to comment.