Merge pull request #5602 from donaldsharp/ripng_redistribute

Rip redistribute fixes
This commit is contained in:
Donatas Abraitis 2020-01-01 09:33:32 +02:00 committed by GitHub
commit d872f01100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -151,8 +151,8 @@ static int rip_zebra_read_route(ZAPI_CALLBACK_ARGS)
void rip_redistribute_conf_update(struct rip *rip, int type) void rip_redistribute_conf_update(struct rip *rip, int type)
{ {
zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP, type, zebra_redistribute_send(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP,
0, rip->vrf->vrf_id); type, 0, rip->vrf->vrf_id);
} }
void rip_redistribute_conf_delete(struct rip *rip, int type) void rip_redistribute_conf_delete(struct rip *rip, int type)

View File

@ -152,8 +152,8 @@ static int ripng_zebra_read_route(ZAPI_CALLBACK_ARGS)
void ripng_redistribute_conf_update(struct ripng *ripng, int type) void ripng_redistribute_conf_update(struct ripng *ripng, int type)
{ {
zclient_redistribute(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6, type, 0, zebra_redistribute_send(ZEBRA_REDISTRIBUTE_ADD, zclient, AFI_IP6,
ripng->vrf->vrf_id); type, 0, ripng->vrf->vrf_id);
} }
void ripng_redistribute_conf_delete(struct ripng *ripng, int type) void ripng_redistribute_conf_delete(struct ripng *ripng, int type)