mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 04:25:43 +00:00
Merge pull request #11176 from anlancs/fix/bgpd-remove-for-type2-prefix
bgpd: remove unncessary check for evpn
This commit is contained in:
commit
601db492b8
@ -450,8 +450,7 @@ static inline void build_evpn_type2_prefix(struct prefix_evpn *p,
|
||||
p->prefix.route_type = BGP_EVPN_MAC_IP_ROUTE;
|
||||
memcpy(&p->prefix.macip_addr.mac.octet, mac->octet, ETH_ALEN);
|
||||
p->prefix.macip_addr.ip.ipa_type = IPADDR_NONE;
|
||||
if (ip)
|
||||
memcpy(&p->prefix.macip_addr.ip, ip, sizeof(*ip));
|
||||
memcpy(&p->prefix.macip_addr.ip, ip, sizeof(*ip));
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Loading…
Reference in New Issue
Block a user