git: 2b2ac1aa9a34 - main - pf tests: Fix rdr pass test to really use 'pass … rdr-to' syntax
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Jul 2025 14:48:18 UTC
The branch main has been updated by ks:
URL: https://cgit.FreeBSD.org/src/commit/?id=2b2ac1aa9a345ce48aa3306e0292f9fde9c82312
commit 2b2ac1aa9a345ce48aa3306e0292f9fde9c82312
Author: Kajetan Staszkiewicz <ks@FreeBSD.org>
AuthorDate: 2025-07-13 13:19:13 +0000
Commit: Kajetan Staszkiewicz <ks@FreeBSD.org>
CommitDate: 2025-07-13 14:48:01 +0000
pf tests: Fix rdr pass test to really use 'pass … rdr-to' syntax
Reviewed by: kp
Event: Berlin Hackathon 202507
Sponsored by: InnoGames GmbH
---
tests/sys/netpfil/pf/rdr.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/netpfil/pf/rdr.sh b/tests/sys/netpfil/pf/rdr.sh
index 4c08b4973891..f7c920bbfa8f 100644
--- a/tests/sys/netpfil/pf/rdr.sh
+++ b/tests/sys/netpfil/pf/rdr.sh
@@ -142,7 +142,7 @@ tcp_v6_pass_body()
{
tcp_v6_setup # Sets ${epair_…} variables
tcp_v6_common \
- "rdr on ${epair_one}a proto tcp from any to any port 80 -> 2001:db8:b::2 port 8000"
+ "pass in on ${epair_one}a proto tcp from any to any port 80 rdr-to 2001:db8:b::2 port 8000"
}
tcp_v6_pass_cleanup()