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 "interface" already contains "var-name", ...



details:   https://anonhg.NetBSD.org/src/rev/31a79940b86b
branches:  trunk
changeset: 366515:31a79940b86b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Aug 31 11:11:21 2018 +0000

description:
"interface" already contains "var-name", so don't mention it in "filt-addr",
that's redundant

diffstat:

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

diffs (19 lines):

diff -r 9ca9dd110f59 -r 31a79940b86b usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Fri Aug 31 11:01:09 2018 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Fri Aug 31 11:11:21 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npf.conf.5,v 1.68 2018/08/31 11:01:09 maxv Exp $
+.\"    $NetBSD: npf.conf.5,v 1.69 2018/08/31 11:11:21 maxv Exp $
 .\"
 .\" Copyright (c) 2009-2017 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -450,8 +450,7 @@
 
 addr-mask      = addr [ "/" mask ]
 filt-opts      = "from" filt-addr [ port-opts ] "to" filt-addr [ port-opts ]
-filt-addr      = [ "!" ] [ interface | var-name |
-                  addr-mask | table-id | "any" ]
+filt-addr      = [ "!" ] [ interface | addr-mask | table-id | "any" ]
 
 port-opts      = "port" ( port-num | port-from "-" port-to | var-name )
 .Ed



Home | Main Index | Thread Index | Old Index