diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-18 22:13:58 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-18 22:13:58 +0000 |
commit | fa281702b9cf2cc3ee8cb7515c67e7edbdc203bf (patch) | |
tree | d86ee37b786b7b429e5c57bc6a448e5da3de361e /usr.sbin | |
parent | 8604ec62168dbca86152e16e815a0325547d3315 (diff) |
- condition lists is wrongly described, unbreak the following syntax:
"accept for { domain "foo", domain "bar" } ..."
From Nicholas Mariott <nicholas.marriott@gmail.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/parse.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y index 3f02a345b74..370a950aa5e 100644 --- a/usr.sbin/smtpd/parse.y +++ b/usr.sbin/smtpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.18 2008/12/11 23:19:00 gilles Exp $ */ +/* $OpenBSD: parse.y,v 1.19 2008/12/18 22:13:57 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -629,6 +629,9 @@ condition : NETWORK mapref { condition_list : condition comma condition_list { TAILQ_INSERT_TAIL(&rule->r_conditions, $1, c_entry); } + | condition { + TAILQ_INSERT_TAIL(&rule->r_conditions, $1, c_entry); + } ; conditions : condition { |