diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-21 19:41:45 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-21 19:41:45 +0000 |
commit | 81d9e7d2151a2ed2b4d0e7a1b65133798b11b7fc (patch) | |
tree | 99c440659326495f22aa067e41759300f2861fe5 /usr.sbin/ldpd/parse.y | |
parent | 64c9b12eea27cced8120459663147a6860018db1 (diff) |
Requiring { } blocks for interfaces is dumb since most don't need any
additional options.
Diffstat (limited to 'usr.sbin/ldpd/parse.y')
-rw-r--r-- | usr.sbin/ldpd/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/parse.y b/usr.sbin/ldpd/parse.y index 86b70200404..ed37192e441 100644 --- a/usr.sbin/ldpd/parse.y +++ b/usr.sbin/ldpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.4 2010/05/25 13:29:45 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.5 2010/06/21 19:41:44 claudio Exp $ */ /* * Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org> @@ -302,6 +302,7 @@ interface : INTERFACE STRING { interface_block : '{' optnl interfaceopts_l '}' | '{' optnl '}' + | /* nothing */ ; interfaceopts_l : interfaceopts_l interfaceoptsl nl |