Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2025 22:16:20 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: a5e04964e80c - main - pf.conf.5: "hosts" is optional
Message-ID:  <202505092216.549MGKw4063017@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=a5e04964e80cdd8c4203c1fb63ca6c1b7fe5b2e8

commit a5e04964e80cdd8c4203c1fb63ca6c1b7fe5b2e8
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-05-08 15:16:26 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-05-09 20:49:29 +0000

    pf.conf.5: "hosts" is optional
    
    from matthew martin
    ok henning
    
    Obtained from:  OpenBSD, jmc <jmc@openbsd.org>, 737fae0517
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 share/man/man5/pf.conf.5 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index b5e3e1126978..b75143f81b4b 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -27,7 +27,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 27, 2025
+.Dd May 8, 2025
 .Dt PF.CONF 5
 .Os
 .Sh NAME
@@ -3355,13 +3355,13 @@ option         = "set" ( [ "timeout" ( timeout | "{" timeout-list "}" ) ] |
 
 ether-rule     = "ether" etheraction [ ( "in" | "out" ) ]
                  [ "quick" ] [ "on" ifspec ] [ "bridge-to" interface-name ]
-                 [ etherprotospec ] etherhosts [ "l3" hosts ]
+                 [ etherprotospec ] [ etherhosts ] [ "l3" hosts ]
                  [ etherfilteropt-list ]
 
 pf-rule        = action [ ( "in" | "out" ) ]
                  [ "log" [ "(" logopts ")"] ] [ "quick" ]
                  [ "on" ifspec ] [ route ] [ af ] [ protospec ]
-                 hosts [ filteropt-list ]
+                 [ hosts ] [ filteropt-list ]
 
 logopts        = logopt [ "," logopts ]
 logopt         = "all" | "matches" | "user" | "to" interface-name



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