diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2021-01-25 06:16:39 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2021-01-25 06:16:39 +0000 |
commit | 145b0d7519de911f2e94be837ca89a3724dea603 (patch) | |
tree | 0f6617b75fd6af9ebab882cb397ac7b4b1011091 /usr.sbin/ospfd/parse.y | |
parent | bea7aa1d6aad02025e16a43d8a757499c0167650 (diff) |
r1.102 forgot to tweak the "redistribute rtlabel" part of the grammar.
fixes "redistribute rtlabel foo" without "depend on".
Diffstat (limited to 'usr.sbin/ospfd/parse.y')
-rw-r--r-- | usr.sbin/ospfd/parse.y | 4 |
1 files 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 <norby@openbsd.org> @@ -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) |