diff options
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 { |