git: 8cf099b4fcb8 - main - pf tests: fix syncookie:loopback_v6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 13:01:38 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=8cf099b4fcb803d995192851f02294e0ef329073
commit 8cf099b4fcb803d995192851f02294e0ef329073
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-11-26 16:26:28 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-11-27 10:43:53 +0000
pf tests: fix syncookie:loopback_v6
Use 'no_dad' when assigning a v6 address, because otherwise we may try
to use it before it becomes usable.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
tests/sys/netpfil/pf/syncookie.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/netpfil/pf/syncookie.sh b/tests/sys/netpfil/pf/syncookie.sh
index 598ac17c67f5..460c923179a3 100644
--- a/tests/sys/netpfil/pf/syncookie.sh
+++ b/tests/sys/netpfil/pf/syncookie.sh
@@ -310,7 +310,7 @@ loopback_v6_body()
loopback_test ::1 8080
epair=$(vnet_mkepair)
- atf_check ifconfig ${epair}a inet6 2001:db8::1/64
+ atf_check ifconfig ${epair}a inet6 2001:db8::1/64 no_dad
loopback_test 2001:db8::1 8081
}