]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_interface.c
*: Cleanup interface creation apis
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 9 Oct 2019 23:50:13 +0000 (19:50 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 10 Oct 2019 00:24:31 +0000 (20:24 -0400)
commitd5c65bf1a2b43d97e19e169223d8a33269bc6625
tree543831bbc4aa6e90c786cffe7c5639732002590b
parent9685b1e414118391825ad56faa8879d279eebeb6
*: Cleanup interface creation apis

Cleanup the interface creation apis to make it more
clear what they are doing.

Make it explicit that the creation via name/ifindex will
only add it to the appropriate list.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/if.c
lib/if.h
ospfd/ospf_interface.c
pimd/pim_iface.c
zebra/if_netlink.c
zebra/kernel_socket.c