From: dlg Date: Mon, 25 Jan 2021 06:16:38 +0000 (+0000) Subject: r1.102 forgot to tweak the "redistribute rtlabel" part of the grammar. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c36a82f560078fb8102c401768d39beb61ede11e;p=openbsd r1.102 forgot to tweak the "redistribute rtlabel" part of the grammar. fixes "redistribute rtlabel foo" without "depend on". --- diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y index 12e4007cc9c..c894fe5678d 100644 --- a/usr.sbin/ospfd/parse.y +++ b/usr.sbin/ospfd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.102 2021/01/07 09:31:02 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.103 2021/01/25 06:16:38 dlg Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -355,7 +355,7 @@ redistribute : no REDISTRIBUTE NUMBER '/' NUMBER optlist dependonopt { free($5); $$ = r; } - | no REDISTRIBUTE RTLABEL STRING optlist dependon { + | no REDISTRIBUTE RTLABEL STRING optlist dependonopt { struct redistribute *r; if ((r = calloc(1, sizeof(*r))) == NULL)