summaryrefslogtreecommitdiffstats
path: root/ripngd/ripng_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-01-01 00:41:16 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-01-01 00:48:54 +0100
commit2afebed21fb2bc559b345e47ab496435849b9f3d (patch)
treee8da4005c260c61cdc60363aa3df8e05de37c6d5 /ripngd/ripng_zebra.c
parentMerge pull request #5579 from donaldsharp/pim_ip_mroute_last (diff)
downloadfrr-2afebed21fb2bc559b345e47ab496435849b9f3d.tar.xz
frr-2afebed21fb2bc559b345e47ab496435849b9f3d.zip
ripngd: Fix redistribute/no redistribute rinse repeat commands
ripngd was using zclient_redistribute for installation but not for removal. As such the lib/zclient.c was not properly tracking add/removal. I think it would be best to just let ripng to track this instead of zclient. Fixes: #5599 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--ripngd/ripng_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c
index fa61d69ca..f9bd56d1d 100644
--- a/ripngd/ripng_zebra.c
+++ b/ripngd/ripng_zebra.c
@@ -152,8 +152,8 @@ static int ripng_zebra_read_route(ZAPI_CALLBACK_ARGS)
void ripng_redistribute_conf_update(struct ripng *ripng, int type)
{
- zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6, type, 0,
- ripng->vrf->vrf_id);
+ zebra_redistribute_send(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6,
+ type, 0, ripng->vrf->vrf_id);
}
void ripng_redistribute_conf_delete(struct ripng *ripng, int type)