]> git.puffer.fish Git - matthieu/frr.git/commit
vtysh: stop reading config file if user `exit`s from root level.
authorChristian Hopps <chopps@labn.net>
Sun, 11 Jun 2023 21:53:10 +0000 (17:53 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 22 Jun 2023 21:56:43 +0000 (21:56 +0000)
commitcfca317c597b61049ba9123281b393ade48ca1b6
tree7a80a327657b836624570dd38292cf96f8ee1ede
parentedf01373b8659e9a19cb05a459ebe008d235440f
vtysh: stop reading config file if user `exit`s from root level.

This is required to make sure that we properly send the
XFRR_end_configuration tag to the daemons. Previously if the user had an
`exit` at the root level the parser would just drop out of the config
node and so XFRR_end_configuration, even if sent, would be ignored

Signed-off-by: Christian Hopps <chopps@labn.net>
(cherry picked from commit 315e9032e4087494063bbc6f7f52ec8c3d3ce757)
vtysh/vtysh.c