The branch main has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=fdadb006828680427e13436d3d219a73464953ed

commit fdadb006828680427e13436d3d219a73464953ed
Author:     Kristof Provost <[email protected]>
AuthorDate: 2022-01-18 08:41:30 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2022-03-02 16:00:07 +0000

    pf tests: Ensure 'pfctl -F ethernet' works
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 tests/sys/netpfil/pf/ether.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/sys/netpfil/pf/ether.sh b/tests/sys/netpfil/pf/ether.sh
index 77245666a86e..adcd8838f357 100644
--- a/tests/sys/netpfil/pf/ether.sh
+++ b/tests/sys/netpfil/pf/ether.sh
@@ -99,6 +99,10 @@ mac_body()
        pft_set_rules alcatraz \
                "ether block out on ${epair}b to { ! 00:01:02:03:04:05 }"
        atf_check -s exit:2 -o ignore ping -c 1 -t 1 192.0.2.2
+
+       # Check '-F ethernet' works
+       jexec alcatraz pfctl -F ethernet
+       atf_check -s exit:0 -o ignore ping -c 1 -t 1 192.0.2.2
 }
 
 mac_cleanup()

Reply via email to