Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2022 16:01:06 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fdadb0068286 - main - pf tests: Ensure 'pfctl -F ethernet' works
Message-ID:  <202203021601.222G16Vb091504@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

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

commit fdadb006828680427e13436d3d219a73464953ed
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2022-01-18 08:41:30 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203021601.222G16Vb091504>