summaryrefslogtreecommitdiffstats
path: root/zebra/connected.c
diff options
context:
space:
mode:
authormitesh <mitesh@cumulusnetworks.com>2017-10-16 23:57:42 +0200
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>2017-12-14 19:57:06 +0100
commit6134fd82a000fb043fc3c0eb5e08cd5ec4f3bfca (patch)
tree08ec7e6dd4356d909feae42779ca7436e82aae12 /zebra/connected.c
parentbgpd: do not send label to zebra route add for evpn routes (diff)
downloadfrr-6134fd82a000fb043fc3c0eb5e08cd5ec4f3bfca.tar.xz
frr-6134fd82a000fb043fc3c0eb5e08cd5ec4f3bfca.zip
zebra: proper refcounting for rmac/nh entries
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.comy>
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 18dc6a970..b5661caed 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -396,10 +396,10 @@ void connected_down(struct interface *ifp, struct connected *ifc)
* head.
*/
rib_delete(afi, SAFI_UNICAST, ifp->vrf_id, ZEBRA_ROUTE_CONNECT, 0, 0,
- &p, NULL, &nh, 0, 0, false);
+ &p, NULL, &nh, 0, 0, false, NULL);
rib_delete(afi, SAFI_MULTICAST, ifp->vrf_id, ZEBRA_ROUTE_CONNECT, 0,
- 0, &p, NULL, &nh, 0, 0, false);
+ 0, &p, NULL, &nh, 0, 0, false, NULL);
if (IS_ZEBRA_DEBUG_RIB_DETAILED) {
char buf[PREFIX_STRLEN];