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/0c9b66e5bde0
branches:  trunk
changeset: 357934:0c9b66e5bde0
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 57a59eef5c52 -r 0c9b66e5bde0 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