diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-29 00:36:35 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-07-04 21:07:19 +0300 |
| commit | 792ada473893b2d16e0eccde974b71ddc65d15eb (patch) | |
| tree | 3c6d494b3c8ad20c92bbfce97cc3a76c12c7f61c /lib/ringbuf.c | |
| parent | c41151224610ebef6ede2ebce00987a72408e1c1 (diff) | |
tools: always append "exit" in frr-reload.py
When reloading the following config:
```
router ospf6
area 0 range 2001:db8::/32 advertise
exit
!
interface eth0
ipv6 ospf6 area 0
exit
```
frr-reload.py doesn't execute "exit" commands. Because of that, it tries
to execute "interface eth0" inside the "router ospf6" context and fails.
To always execute all commands from the correct context, frr-reload.py
should properly exit from every entered node.
Fixes #10132.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/ringbuf.c')
0 files changed, 0 insertions, 0 deletions
