Module Name: src
Committed By: christos
Date: Tue Mar 24 20:24:18 UTC 2015
Modified Files:
src/usr.sbin/npf/npfctl: npf_parse.y
Log Message:
allow lists as filter addresses.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 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.37 src/usr.sbin/npf/npfctl/npf_parse.y:1.38
--- src/usr.sbin/npf/npfctl/npf_parse.y:1.37 Sun Jan 4 13:30:05 2015
+++ src/usr.sbin/npf/npfctl/npf_parse.y Tue Mar 24 16:24:17 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_parse.y,v 1.37 2015/01/04 18:30:05 joerg Exp $ */
+/* $NetBSD: npf_parse.y,v 1.38 2015/03/24 20:24:17 christos Exp $ */
/*-
* Copyright (c) 2011-2014 The NetBSD Foundation, Inc.
@@ -618,7 +618,8 @@ filt_opts
;
filt_addr
- : addr_or_ifaddr { $$ = $1; }
+ : list { $$ = $1; }
+ | addr_or_ifaddr { $$ = $1; }
| TABLE_ID { $$ = npfctl_parse_table_id($1); }
| ANY { $$ = NULL; }
;