diff options
author | paco <paco@voltanet.io> | 2018-06-08 19:18:49 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-08 19:18:49 +0200 |
commit | ee496c3b87408cb8b59f2a2e2e093cb8f6caf4e4 (patch) | |
tree | 2eb09eb1336bf40034afa44faebd2d5608da4381 /zebra/zebra_vxlan.c | |
parent | Merge pull request #2298 from qlyoung/pipe-actions-vtysh (diff) | |
download | frr-ee496c3b87408cb8b59f2a2e2e093cb8f6caf4e4.tar.xz frr-ee496c3b87408cb8b59f2a2e2e093cb8f6caf4e4.zip |
zebra: resource leak fix (Coverity 1453454)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to '')
-rw-r--r-- | zebra/zebra_vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 98fa7ccf6..59f0cf52f 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -1864,7 +1864,7 @@ static int zvni_gw_macip_del(struct interface *ifp, zebra_vni_t *zvni, zlog_debug( "%u:SVI %s(%u) VNI %u, sending GW MAC %s IP %s del to BGP", 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))); /* Remove neighbor from BGP. */ |