git: 685d5860acea - main - pf tests: explicitly set the source address in killstate:v6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 13:01:39 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=685d5860aceac1c01bc34ec1ca5d726b88cb6e27
commit 685d5860aceac1c01bc34ec1ca5d726b88cb6e27
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-11-19 13:35:59 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-11-27 10:43:53 +0000
pf tests: explicitly set the source address in killstate:v6
We've seen failures due to pft_ping.py selecting the wrong source address.
Explicitly use 2001:db8::1 as source, to match the tests's expectations.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
tests/sys/netpfil/pf/killstate.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/sys/netpfil/pf/killstate.sh b/tests/sys/netpfil/pf/killstate.sh
index 4c34c8036f06..dc082464b36c 100644
--- a/tests/sys/netpfil/pf/killstate.sh
+++ b/tests/sys/netpfil/pf/killstate.sh
@@ -194,6 +194,7 @@ v6_body()
# Sanity check & establish state
atf_check -s exit:0 -o ignore ${common_dir}/pft_ping.py \
--sendif ${epair}a \
+ --fromaddr 2001:db8::1 \
--to 2001:db8::2 \
--replyif ${epair}a