mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 01:15:33 +00:00
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>
This commit is contained in:
parent
7655aa34c9
commit
2afebed21f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user