pf tests: improve pfsync:basic_defer test

Create state on output only, to ensure we trigger the defer code.

MFC after:	2 weeks
This commit is contained in:
Kristof Provost 2023-02-03 04:10:32 +01:00
parent 0ed5f66c5a
commit afa77b6996

View File

@ -73,11 +73,11 @@ common_body()
jexec one pfctl -e
pft_set_rules one \
"set skip on ${epair_sync}a" \
"pass keep state"
"pass out keep state"
jexec two pfctl -e
pft_set_rules two \
"set skip on ${epair_sync}b" \
"pass keep state"
"pass out keep state"
ifconfig ${epair_one}b 198.51.100.254/24 up