Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 08:09:05 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: 4bfffd8cf52c - main - pf.conf.5: minor improvements
Message-ID:  <202304210809.33L895Sk011699@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=4bfffd8cf52cfa5c9659416977a5740a4b4b43f2

commit 4bfffd8cf52cfa5c9659416977a5740a4b4b43f2
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-04-21 07:16:53 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-04-21 08:08:02 +0000

    pf.conf.5: minor improvements
    
    * Align 'on <interface>' parameter with the BNF, so use 'on <ifspec>'
    * Clarify etherprotospec BNF, to make it clearer that only numbers are
      supported.
    
    Suggested by:   Christian McDonald
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 share/man/man5/pf.conf.5 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 8e0bb42f257a..88c509f36ff7 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -28,7 +28,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd November 24, 2022
+.Dd April 21, 2023
 .Dt PF.CONF 5
 .Os
 .Sh NAME
@@ -702,7 +702,7 @@ If a packet matches a rule which has the
 option set, this rule
 is considered the last matching rule, and evaluation of subsequent rules
 is skipped.
-.It Ar on Aq Ar interface
+.It Ar on Aq Ar ifspec
 This rule applies only to packets coming in on, or going out through, this
 particular interface or interface group.
 For more information on interface groups,
@@ -3197,7 +3197,8 @@ route          = ( "route-to" | "reply-to" | "dup-to" )
                  [ pooltype ]
 af             = "inet" | "inet6"
 
-etherprotospec = "proto" ( proto-number | "{" proto-list "}" )
+etherprotospec = "proto" ( proto-number | "{" etherproto-list "}" )
+etherproto-list	= proto-number [ [ "," ] etherproto-list ]
 protospec      = "proto" ( proto-name | proto-number |
                  "{" proto-list "}" )
 proto-list     = ( proto-name | proto-number ) [ [ "," ] proto-list ]



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