summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-01-01 00:48:06 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-01-01 00:49:08 +0100
commitad21f6755ac70fdee4289f0cd9971862182cc203 (patch)
tree3eb0c075c2a16306d773391c06a8f540ae5e5d5c /ripd
parentripngd: Fix redistribute/no redistribute rinse repeat commands (diff)
downloadfrr-ad21f6755ac70fdee4289f0cd9971862182cc203.tar.xz
frr-ad21f6755ac70fdee4289f0cd9971862182cc203.zip
ripd: Fix redistribute/no redistribute rinse repeate commands
ripd 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 rip to track this instead of zclient. Fixes: #5599 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index 90ee667f0..e07d21886 100644
--- a/ripd/rip_zebra.c
+++ b/ripd/rip_zebra.c
@@ -151,8 +151,8 @@ static int rip_zebra_read_route(ZAPI_CALLBACK_ARGS)
void rip_redistribute_conf_update(struct rip *rip, int type)
{
- zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type,
- 0, rip->vrf->vrf_id);
+ zebra_redistribute_send(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP,
+ type, 0, rip->vrf->vrf_id);
}
void rip_redistribute_conf_delete(struct rip *rip, int type)