mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 16:54:30 +00:00
lib: fix crash in the CLI grammar sandbox
The CLI grammer sandbox needs to initialize the northbound subsystem otherwise the running_config global variable won't be set, which leads to crashes. Fixes #4319. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
4ac9d2cbe4
commit
8d0d863754
@ -58,6 +58,8 @@ int main(int argc, char **argv)
|
||||
|
||||
vty_init(master);
|
||||
memory_init();
|
||||
yang_init();
|
||||
nb_init(master, NULL, 0);
|
||||
|
||||
vty_stdio(vty_do_exit);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user