]> git.puffer.fish Git - mirror/frr.git/commit
vtysh, pathd: fix pcep node-entering commands 9375/head
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 11 Aug 2021 14:46:31 +0000 (17:46 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 11 Aug 2021 14:46:36 +0000 (17:46 +0300)
commit53fc645d339d850173b860bcd3482d3d5911ac51
tree7fdd439b76ea226ffde31174913968fde9810812
parent854571290b6dd1b3924e8b88ba7425931008fb5a
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>
pathd/path_pcep_cli.c
vtysh/vtysh.c