]> git.puffer.fish Git - matthieu/frr.git/commit
*: cleanup interface node installation
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 29 Jul 2021 18:34:56 +0000 (21:34 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 29 Jul 2021 18:35:25 +0000 (21:35 +0300)
commit9da01b0b7b6bc9a5cc129f850ff4f459ec33eb49
tree05933a71eadb8313ace4088f2cce576f43fc1a1a
parent7543016dbc01093d5fbc7e94bbc9bc24344b3efc
*: cleanup interface node installation

The only difference in daemons' interface node definition is the config
write function. No need to define the node in every daemon, just pass
the callback as an argument to a library function and define the node
there.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
14 files changed:
babeld/babel_interface.c
eigrpd/eigrp_cli.c
isisd/isis_circuit.c
lib/if.c
lib/if.h
nhrpd/nhrp_vty.c
ospf6d/ospf6_interface.c
ospfd/ospf_vty.c
pbrd/pbr_vty.c
pimd/pim_cmd.c
ripd/rip_interface.c
ripngd/ripng_interface.c
vrrpd/vrrp_vty.c
zebra/interface.c