From 51712187093885640a392b489ade4477e8cd1228 Mon Sep 17 00:00:00 2001 From: kn Date: Mon, 19 Jul 2021 16:23:56 +0000 Subject: [PATCH] Markup optional ICMP/ICMP6 codes as such Only icmp(4)/icmp6(4) types are required for `icmp-type'/`icmp6-type' rules while codes are optional. From Martin Vahlensieck < openbsd at academicsolutions dot ch >, thanks! --- 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 3806dbc80fb..7ad9c4abb7f 100644 --- a/share/man/man5/pf.conf.5 +++ b/share/man/man5/pf.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pf.conf.5,v 1.586 2021/02/01 00:31:04 dlg Exp $ +.\" $OpenBSD: pf.conf.5,v 1.587 2021/07/19 16:23:56 kn Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" Copyright (c) 2003 - 2013 Henning Brauer @@ -28,7 +28,7 @@ .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 1 2021 $ +.Dd $Mdocdate: July 19 2021 $ .Dt PF.CONF 5 .Os .Sh NAME @@ -564,8 +564,8 @@ Similar to this rule only applies to packets of sockets owned by the specified .Ar group . .Pp -.It Cm icmp-type Ar type Cm code Ar code -.It Cm icmp6-type Ar type Cm code Ar code +.It Cm icmp-type Ar type Op Cm code Ar code +.It Cm icmp6-type Ar type Op Cm code Ar code This rule only applies to ICMP or ICMP6 packets with the specified type and code. Text names for ICMP types and codes are listed in -- 2.20.1