diff options
author | 2008-12-18 22:13:57 +0000 | |
---|---|---|
committer | 2008-12-18 22:13:57 +0000 | |
commit | 7d959b7baa56cc37a673446d26dc62f17b6c5c0b (patch) | |
tree | af1db3652f6b42078c2ff4588f146cdbca022443 | |
parent | Print the interface livelocks if non-zero. From deraadt@ (diff) | |
download | wireguard-openbsd-7d959b7baa56cc37a673446d26dc62f17b6c5c0b.tar.xz wireguard-openbsd-7d959b7baa56cc37a673446d26dc62f17b6c5c0b.zip |
- condition lists is wrongly described, unbreak the following syntax:
"accept for { domain "foo", domain "bar" } ..."
From Nicholas Mariott <nicholas.marriott@gmail.com>
-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 { |