]> git.proxmox.com Git - mirror_frr.git/commit
zebra: remove unnecessary assignment
authoranlan_cs <vic.lan@pica8.com>
Mon, 7 Feb 2022 04:53:45 +0000 (23:53 -0500)
committeranlan_cs <vic.lan@pica8.com>
Tue, 8 Mar 2022 14:58:22 +0000 (22:58 +0800)
commitc2fd85a85492d0f562ee06cd3c47e9b841a86463
tree68916f70f58870ac6bd60252c3f2b5ddbc63c39d
parent5e5cd2784f23c5a022d1a0e3c6e9d217abc3ca71
zebra: remove unnecessary assignment

In `zebra_evpn_neigh_gw_macip_add()`, it sets `mac->flags` to "ZEBRA_MAC_DEF_GW"
for "advertise-default-gw" mode. But this set is redundant because this "mac"
is already set by `zebra_evpn_mac_gw_macip_add()`.

So remove this redundant assignment.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
zebra/zebra_evpn_neigh.c