]> 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)
committerChristian Hopps <chopps@labn.net>
Mon, 12 Jun 2023 06:32:29 +0000 (02:32 -0400)
commit315e9032e4087494063bbc6f7f52ec8c3d3ce757
tree750839a3186d1e7d5c573d309237f2afa89a864d
parentf7a2c2ab5ab6a4d70da298ad03cb28fdf9979afc
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>
vtysh/vtysh.c