]> git.proxmox.com Git - mirror_frr.git/commit - ripd/rip_interface.c
*: fix interface config write in NB-converted daemons
authorIgor Ryzhov <iryzhov@nfware.com>
Wed, 13 Oct 2021 15:30:06 +0000 (18:30 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 25 Oct 2021 12:31:07 +0000 (15:31 +0300)
commit104fd767383a042baff0eff8f3988d3a95123eda
tree0d37d85d14d727078fb4fdfecf4a677ad5e37b4e
parent6f354338f98c173dc9cdc9165c03acdf5fc5685e
*: fix interface config write in NB-converted daemons

When writing the config from the NB-converted daemon, we must not rely
on the operational data. This commit changes the output of the interface
configuration to use only config data. As the code is the same for all
daemons, move it to the lib and remove all the duplicated code.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
eigrpd/eigrp_cli.c
isisd/isis_circuit.c
lib/if.c
lib/if.h
ripd/rip_interface.c
ripngd/ripng_interface.c
vrrpd/vrrp_vty.c