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 allow PASS opt_proto ALL syntax in map s...



details:   https://anonhg.NetBSD.org/src/rev/5f180bf46c2c
branches:  trunk
changeset: 828235:5f180bf46c2c
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Dec 03 23:48:03 2017 +0000

description:
allow PASS opt_proto ALL syntax in map statement.

diffstat:

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

diffs (18 lines):

diff -r 598a0a73d92f -r 5f180bf46c2c usr.sbin/npf/npfctl/npf_parse.y
--- a/usr.sbin/npf/npfctl/npf_parse.y   Sun Dec 03 23:43:00 2017 +0000
+++ b/usr.sbin/npf/npfctl/npf_parse.y   Sun Dec 03 23:48:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_parse.y,v 1.44 2017/01/20 23:00:30 rmind Exp $     */
+/*     $NetBSD: npf_parse.y,v 1.45 2017/12/03 23:48:03 mlelstv Exp $   */
 
 /*-
  * Copyright (c) 2011-2017 The NetBSD Foundation, Inc.
@@ -353,7 +353,7 @@
 
 map
        : MAP ifref map_sd map_algo mapseg map_type mapseg
-         PASS opt_proto filt_opts
+         PASS opt_proto all_or_filt_opts
        {
                npfctl_build_natseg($3, $6, $2, &$5, &$7, &$9, &$10, $4);
        }



Home | Main Index | Thread Index | Old Index