From 81d9e7d2151a2ed2b4d0e7a1b65133798b11b7fc Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 21 Jun 2010 19:41:45 +0000 Subject: Requiring { } blocks for interfaces is dumb since most don't need any additional options. --- usr.sbin/ldpd/parse.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -302,6 +302,7 @@ interface : INTERFACE STRING { interface_block : '{' optnl interfaceopts_l '}' | '{' optnl '}' + | /* nothing */ ; interfaceopts_l : interfaceopts_l interfaceoptsl nl -- cgit v1.2.3