mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 15:27:59 +00:00
Merge pull request #7105 from AnuradhaKaruppiah/l3vni-ecom-leak
bgpd: fix ecom leak handling l3vni update
This commit is contained in:
commit
d36d37a4dc
@ -519,6 +519,8 @@ static void form_auto_rt(struct bgp *bgp, vni_t vni, struct list *rtl)
|
|||||||
|
|
||||||
if (!ecom_found)
|
if (!ecom_found)
|
||||||
listnode_add_sort(rtl, ecomadd);
|
listnode_add_sort(rtl, ecomadd);
|
||||||
|
else
|
||||||
|
ecommunity_free(&ecomadd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user