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 lists as filter addresses.
details: https://anonhg.NetBSD.org/src/rev/c6deaf52d3c1
branches: trunk
changeset: 336870:c6deaf52d3c1
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 24 20:24:17 2015 +0000
description:
allow lists as filter addresses.
diffstat:
usr.sbin/npf/npfctl/npf_parse.y | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r fe94c893d606 -r c6deaf52d3c1 usr.sbin/npf/npfctl/npf_parse.y
--- a/usr.sbin/npf/npfctl/npf_parse.y Tue Mar 24 20:02:18 2015 +0000
+++ b/usr.sbin/npf/npfctl/npf_parse.y Tue Mar 24 20:24:17 2015 +0000
@@ -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_addr
- : addr_or_ifaddr { $$ = $1; }
+ : list { $$ = $1; }
+ | addr_or_ifaddr { $$ = $1; }
| TABLE_ID { $$ = npfctl_parse_table_id($1); }
| ANY { $$ = NULL; }
;
Home |
Main Index |
Thread Index |
Old Index