mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
Merge pull request #2388 from pacovn/Coverity_1453454_Resource_leak
zebra: resource leak fix (Coverity 1453454)
This commit is contained in:
commit
a22addd5a3
@ -1864,7 +1864,7 @@ static int zvni_gw_macip_del(struct interface *ifp, zebra_vni_t *zvni,
|
|||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%u:SVI %s(%u) VNI %u, sending GW MAC %s IP %s del to BGP",
|
"%u:SVI %s(%u) VNI %u, sending GW MAC %s IP %s del to BGP",
|
||||||
ifp->vrf_id, ifp->name, ifp->ifindex, zvni->vni,
|
ifp->vrf_id, ifp->name, ifp->ifindex, zvni->vni,
|
||||||
prefix_mac2str(&(n->emac), NULL, ETHER_ADDR_STRLEN),
|
prefix_mac2str(&(n->emac), buf1, sizeof(buf1)),
|
||||||
ipaddr2str(ip, buf2, sizeof(buf2)));
|
ipaddr2str(ip, buf2, sizeof(buf2)));
|
||||||
|
|
||||||
/* Remove neighbor from BGP. */
|
/* Remove neighbor from BGP. */
|
||||||
|
Loading…
Reference in New Issue
Block a user