Merge pull request #10711 from anlancs/zebra-remove-flag

zebra: remove unnecessary assignment
This commit is contained in:
Sri Mohana Singamsetty 2022-03-11 11:08:51 -08:00 committed by GitHub
commit 1b387a2894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2203,7 +2203,6 @@ int zebra_evpn_neigh_gw_macip_add(struct interface *ifp,
/* Only advertise in BGP if the knob is enabled */
if (advertise_gw_macip_enabled(zevpn)) {
SET_FLAG(mac->flags, ZEBRA_MAC_DEF_GW);
SET_FLAG(n->flags, ZEBRA_NEIGH_DEF_GW);
/* Set Router flag (R-bit) */
if (ip->ipa_type == IPADDR_V6)