Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl Actually, according to the grammar the s...



details:   https://anonhg.NetBSD.org/src/rev/887c00dd09ed
branches:  trunk
changeset: 447363:887c00dd09ed
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Jan 08 11:36:10 2019 +0000

description:
Actually, according to the grammar the square brackets in the "tcp
flags" are not literal, so use .Op to show that /mask is optional.

diffstat:

 usr.sbin/npf/npfctl/npf.conf.5 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b7883654fbea -r 887c00dd09ed usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Tue Jan 08 11:28:01 2019 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Tue Jan 08 11:36:10 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npf.conf.5,v 1.82 2019/01/08 11:28:01 uwe Exp $
+.\"    $NetBSD: npf.conf.5,v 1.83 2019/01/08 11:36:10 uwe Exp $
 .\"
 .\" Copyright (c) 2009-2017 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -223,7 +223,7 @@
 keyword can be used to match the packets against specific TCP flags,
 according to the following syntax:
 .Pp
-.D1 Ic proto Cm tcp flags Ar match Ns Li [/ Ns Ar mask Ns Li \&]
+.D1 Ic proto Cm tcp flags Ar match Ns Op Li / Ns Ar mask
 .Pp
 Where
 .Ar match



Home | Main Index | Thread Index | Old Index