]> git.proxmox.com Git - mirror_frr.git/commit
vtysh, pathd: fix pcep node-entering commands
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 11 Aug 2021 14:46:31 +0000 (17:46 +0300)
committermergify-bot <noreply@mergify.io>
Mon, 16 Aug 2021 17:05:15 +0000 (17:05 +0000)
commit4289021bd1bb951fa898b71d88227020c8367498
treeed0a9f3b9cb753b8462ee9aa09125352facf3689
parent44325ee1d10f5cc4cf26f81a4876b9d38f857262
vtysh, pathd: fix pcep node-entering commands

pce-config, pce and pcc node-entering commands in vtysh include no-form,
which is incorrect. Currently, when user passes a no-form command like
`no pcc`, vtysh enters the node while pathd deletes the node and this
leads to a desynchronization.

Regular and no-form commands should be defined separately to fix this.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 53fc645d339d850173b860bcd3482d3d5911ac51)
pathd/path_pcep_cli.c
vtysh/vtysh.c