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>
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;
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;
{
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))