git: 77207b602224 - main - pfctl: Document displaying Ethernet rules

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 02 Mar 2022 16:00:54 UTC
The branch main has been updated by kp:

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

commit 77207b6022248ff6a205e28d2563ac07659324e7
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-02-22 12:04:03 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-03-02 16:00:06 +0000

    pfctl: Document displaying Ethernet rules
    
    Document the new 'pfctl -s ether' functionality.
    
    Reviewed by:    bcr
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D31750
---
 sbin/pfctl/pfctl.8 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index ad0d1ba34769..f61feef8bc16 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd October 3, 2016
+.Dd February 22, 2021
 .Dt PFCTL 8
 .Os
 .Sh NAME
@@ -404,6 +404,12 @@ When used together with
 .Nm
 will loop and show updated queue statistics every five seconds, including
 measured bandwidth and packets per second.
+.It Fl s Cm ether
+Show the currently loaded Ethernet rules.
+When used together with
+.Fl v ,
+the per-rule statistics (number of evaluations,
+packets and bytes) are also shown.
 .It Fl s Cm rules
 Show the currently loaded filter rules.
 When used together with