]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: Ignore `end` when parsing frr.conf 11660/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 20 Jul 2022 19:57:33 +0000 (22:57 +0300)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 21 Jul 2022 18:17:32 +0000 (18:17 +0000)
commita9f6fa21c351b830cae6b3bce0cbc90b4a19a0ba
tree8a8362b99200328854814ce7eafb278ab981ac32
parent68d75b1319a605e6e57b8dfaab1eb7be14306f7c
vtysh: Ignore `end` when parsing frr.conf

If we have `end` at the end of the frr.conf, then we never execute
XFRR_end_configuration command, and start/end markers do not work.

This leads to for example waiting BGP configuration parsing thread to hang,
and the peers are in shutdown state until the timer expires.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit ce2e1a0ed852a6d22385afba7ca44f9ec7f1454e)
vtysh/vtysh.c