diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-01-01 00:41:16 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-01-01 00:48:54 +0100 |
commit | 2afebed21fb2bc559b345e47ab496435849b9f3d (patch) | |
tree | e8da4005c260c61cdc60363aa3df8e05de37c6d5 /ripngd/ripng_zebra.c | |
parent | Merge pull request #5579 from donaldsharp/pim_ip_mroute_last (diff) | |
download | frr-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.c | 4 |
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) |