]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: explicitly exit from the router node 9421/head
authorIgor Ryzhov <iryzhov@nfware.com>
Tue, 17 Aug 2021 12:36:55 +0000 (15:36 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 17 Aug 2021 12:47:35 +0000 (15:47 +0300)
commitde61cded81cfea5ea065f7d1309d6006c009caa5
treeb8f7c155b25bb57d844b70a42ed7f56229bb6fb9
parent46cc2c7dc09c165269fe8b3ceb68cb6c1a749f08
ospfd: explicitly exit from the router node

There's a new "mpls ldp-sync" command added to the OSPF router node in
FRR 8.0. This change broke the following config:
```
router ospf
!
mpls ldp
 discovery hello interval 10
!
```
The config was broken because the "mpls ldp" line is now treated as an
"mpls ldp-sync" line inside the router node. We must explicitly print
"exit" at the end of OSPF router node to fix the issue.

Fixes #9206.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospfd/ospf_vty.c