mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 13:27:53 +00:00
zebra: Cleanup comments to appropriately match style
The block comments from a couple commits were not following proper style. Fix. Fix SA warning that had snuck in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
520ebf72b2
commit
98efddf1d7
@ -680,10 +680,12 @@ static int netlink_interface(struct nlmsghdr *h, ns_id_t ns_id, int startup)
|
||||
if (IS_ZEBRA_IF_VRF(ifp))
|
||||
SET_FLAG(ifp->status, ZEBRA_INTERFACE_VRF_LOOPBACK);
|
||||
|
||||
/* Just set the @link/lower-device ifindex. During nldump interfaces are
|
||||
/*
|
||||
* Just set the @link/lower-device ifindex. During nldump interfaces are
|
||||
* not ordered in any fashion so we may end up getting upper devices
|
||||
* before lower devices. We will setup the real linkage once the dump
|
||||
* is complete. */
|
||||
* is complete.
|
||||
*/
|
||||
zif = (struct zebra_if *)ifp->info;
|
||||
zif->link_ifindex = link_ifindex;
|
||||
|
||||
|
@ -999,8 +999,10 @@ void zebra_if_update_link(struct interface *ifp, ifindex_t link_ifindex,
|
||||
link_ifindex);
|
||||
}
|
||||
|
||||
/* during initial link dump kernel does not order lower devices before
|
||||
* upper devices so we need to fixup link dependencies at the end of dump */
|
||||
/*
|
||||
* during initial link dump kernel does not order lower devices before
|
||||
* upper devices so we need to fixup link dependencies at the end of dump
|
||||
*/
|
||||
void zebra_if_update_all_links(void)
|
||||
{
|
||||
struct route_node *rn;
|
||||
|
@ -2626,7 +2626,7 @@ static int zvni_mac_uninstall(zebra_vni_t *zvni, zebra_mac_t *mac)
|
||||
{
|
||||
struct zebra_if *zif;
|
||||
struct zebra_l2info_vxlan *vxl;
|
||||
struct in_addr vtep_ip = {.s_addr = 0};
|
||||
struct in_addr vtep_ip;
|
||||
struct interface *ifp;
|
||||
|
||||
if (!(mac->flags & ZEBRA_MAC_REMOTE))
|
||||
|
Loading…
Reference in New Issue
Block a user