Skip to content

Commit

Permalink
Merge pull request FRRouting#17519 from chiragshah6/evpn_dev4
Browse files Browse the repository at this point in the history
zebra: EVPN fix code style in vlan vni map debugs
  • Loading branch information
mjstapp authored Nov 26, 2024
2 parents 4c2f5c7 + 887a084 commit 8ef5282
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions zebra/zebra_vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -4757,10 +4757,9 @@ void zebra_vxlan_remote_vtep_add(vrf_id_t vrf_id, vni_t vni,
/* If down or not mapped to a bridge, we're done. */
if (!if_is_operative(ifp) || !zif->brslave_info.br_if) {
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug(
"%s VNI %u VTEP %pI4 ifp %s oper %u br_if %u skipping update",
__func__, zevpn->vni, &vtep_ip, ifp->name,
if_is_operative(ifp), !zif->brslave_info.br_if);
zlog_debug("%s VNI %u VTEP %pI4 ifp %s oper %u br_if %u skipping update",
__func__, zevpn->vni, &vtep_ip, ifp->name, if_is_operative(ifp),
!zif->brslave_info.br_if);
return;
}

Expand Down
2 changes: 1 addition & 1 deletion zebra/zebra_vxlan_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ int zebra_vxlan_if_vni_up(struct interface *ifp, struct zebra_vxlan_vni *vnip)
} else {
if (IS_ZEBRA_DEBUG_KERNEL || IS_ZEBRA_DEBUG_VXLAN)
zlog_debug("%s VNI %u vxlan_if %s oper down skipping vni up to client",
__func__, zevpn->vni, zevpn->vxlan_if->name);
__func__, zevpn->vni, zevpn->vxlan_if->name);
}
zebra_evpn_read_mac_neigh(zevpn, ifp);
}
Expand Down

0 comments on commit 8ef5282

Please sign in to comment.