summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-04-06 21:54:57 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-04-06 21:54:57 +0000
commit7abcbff37bd33366e8b938bdc10e465c2e78ef5f (patch)
treec7e0446297766e99922a3f06d4539c1eb93e83b3 /sbin
parentf6e7bb08958dcfe7a672c7db86ef2387219fa85a (diff)
allow lists inside lists for address specs, has been in my tree for
quite some time... theo likes
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index eae21d98b78..58cb1032fc5 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.495 2006/03/14 11:09:43 djm Exp $ */
+/* $OpenBSD: parse.y,v 1.496 2006/04/06 21:54:56 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -2214,8 +2214,8 @@ ipspec : ANY { $$ = NULL; }
| '{' host_list '}' { $$ = $2; }
;
-host_list : xhost { $$ = $1; }
- | host_list comma xhost {
+host_list : ipspec { $$ = $1; }
+ | host_list comma ipspec {
if ($3 == NULL)
$$ = $1;
else if ($1 == NULL)