Date: Tue, 18 Feb 2025 17:43:12 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 91ff75b756ec - stable/13 - =?utf-8?Q?pf.conf.5: fix =E2=89=A4?= Message-ID: <202502181743.51IHhCK9021107@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=91ff75b756ec4563e3cc2c466e3841462451794d commit 91ff75b756ec4563e3cc2c466e3841462451794d Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-02-05 14:52:15 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-02-18 16:49:41 +0000 pf.conf.5: fix ≤ pf.conf expects <=, not ≤ (and the same applies to ≥ and >=). Make sure the man page reflects this. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 85c333a947e950d9267517afd1d9c30a655b7bfb) --- share/man/man5/pf.conf.5 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 6168bc3e8089..6eeb2ede9c49 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -1619,9 +1619,9 @@ Ports and ranges of ports are specified by using these operators: = (equal) != (unequal) \*(Lt (less than) -\*(Le (less than or equal) +<= (less than or equal) \*(Gt (greater than) -\*(Ge (greater than or equal) +>= (greater than or equal) : (range including boundaries) \*(Gt\*(Lt (range excluding boundaries) \*(Lt\*(Gt (except range) @@ -1662,7 +1662,7 @@ pass in all pass in from any to any pass in proto tcp from any port \*(Le 1024 to any pass in proto tcp from any to any port 25 -pass in proto tcp from 10.0.0.0/8 port \*(Gt 1024 \e +pass in proto tcp from 10.0.0.0/8 port >= 1024 \e to ! 10.1.2.3 port != ssh pass in proto tcp from any os "OpenBSD" .Ed @@ -3100,7 +3100,7 @@ os = "os" ( os-name | "{" os-list "}" ) user = "user" ( unary-op | binary-op | "{" op-list "}" ) group = "group" ( unary-op | binary-op | "{" op-list "}" ) -unary-op = [ "=" | "!=" | "\*(Lt" | "\*(Le" | "\*(Gt" | "\*(Ge" ] +unary-op = [ "=" | "!=" | "\*(Lt" | "<=" | "\*(Gt" | ">=" ] ( name | number ) binary-op = number ( "\*(Lt\*(Gt" | "\*(Gt\*(Lt" | ":" ) number op-list = ( unary-op | binary-op ) [ [ "," ] op-list ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502181743.51IHhCK9021107>