]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: Ignore `end` when parsing frr.conf
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 20 Jul 2022 19:57:33 +0000 (22:57 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 20 Jul 2022 19:57:33 +0000 (22:57 +0300)
commitce2e1a0ed852a6d22385afba7ca44f9ec7f1454e
tree50a97963773806bdc8217e4957a951c33b347799
parentb6754b74ef4e16b5e2c6e0c1ff139ecee485f949
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>
vtysh/vtysh.c