mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
bgpd: BGP should not ignore the VNI add notification if it is not live currently
Ticket: CM-17053 Review: CCR-6446 Unit-test: Manual Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
bd7d02999f
commit
2f1ac16a7e
@ -2685,7 +2685,8 @@ int bgp_evpn_local_vni_add(struct bgp *bgp, vni_t vni,
|
|||||||
/* Lookup VNI. If present and no change, exit. */
|
/* Lookup VNI. If present and no change, exit. */
|
||||||
vpn = bgp_evpn_lookup_vni(bgp, vni);
|
vpn = bgp_evpn_lookup_vni(bgp, vni);
|
||||||
if (vpn) {
|
if (vpn) {
|
||||||
if (IPV4_ADDR_SAME(&vpn->originator_ip, &originator_ip))
|
if (is_vni_live(vpn)
|
||||||
|
&& IPV4_ADDR_SAME(&vpn->originator_ip, &originator_ip))
|
||||||
/* Probably some other param has changed that we don't
|
/* Probably some other param has changed that we don't
|
||||||
* care about. */
|
* care about. */
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user