]> git.proxmox.com Git - mirror_frr.git/commit
isisd: remove useless checks when configuring passive interfaces
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 29 Oct 2021 22:49:04 +0000 (01:49 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Sat, 30 Oct 2021 00:17:38 +0000 (03:17 +0300)
commit67486f32ae23668093d282cba58ac4f9cbab1294
tree4eb454e3630949341f6f639a9263647407884557
parent8fcdc286aea3c1893fd2fabeb88bec0282b0fdab
isisd: remove useless checks when configuring passive interfaces

Currently, we have some checks in the CLI and NB layer to "protect" from
setting loopback interfaces into non-passive mode. These checks are not
correct, because we can not rely on operational data during config
reading and validation stage as this data doesn't exist yet. There's
nothing wrong in allowing "incorrect" configuration – it is already
correctly handled by the actual code.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_cli.c
isisd/isis_nb_config.c