Module Name: src
Committed By: mlelstv
Date: Sun Dec 3 23:48:03 UTC 2017
Modified Files:
src/usr.sbin/npf/npfctl: npf_parse.y
Log Message:
allow PASS opt_proto ALL syntax in map statement.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/npf/npfctl/npf_parse.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_parse.y
diff -u src/usr.sbin/npf/npfctl/npf_parse.y:1.44 src/usr.sbin/npf/npfctl/npf_parse.y:1.45
--- src/usr.sbin/npf/npfctl/npf_parse.y:1.44 Fri Jan 20 23:00:30 2017
+++ src/usr.sbin/npf/npfctl/npf_parse.y Sun Dec 3 23:48:03 2017
@@ -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 @@ mapseg
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);
}