Merge pull request #4779 from donaldsharp/sharp_repeat_fix

sharpd: Fix repeat sub-command to work
This commit is contained in:
Mark Stapp 2019-08-05 08:40:10 -04:00 committed by GitHub
commit c0b5769ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ static void handle_repeated(bool installed)
sg.r.inst, sg.r.total_routes);
}
if (installed) {
if (!installed) {
sg.r.installed_routes = 0;
sharp_install_routes_helper(&p, sg.r.vrf_id, sg.r.inst,
&sg.r.nhop_group,