From c36a82f560078fb8102c401768d39beb61ede11e Mon Sep 17 00:00:00 2001 From: dlg Date: Mon, 25 Jan 2021 06:16:38 +0000 Subject: [PATCH] r1.102 forgot to tweak the "redistribute rtlabel" part of the grammar. fixes "redistribute rtlabel foo" without "depend on". --- usr.sbin/ospfd/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.20.1