mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 11:18:52 +00:00
zebra: Clean up indentation level in nexthop_active
Clean up the while loop indentation level to be a bit more readable. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
4491a88f9e
commit
c87bdd2b0f
@ -503,9 +503,10 @@ nexthop_active (afi_t afi, struct route_entry *re, struct nexthop *nexthop, int
|
|||||||
} while (rn && rn->info == NULL);
|
} while (rn && rn->info == NULL);
|
||||||
if (rn)
|
if (rn)
|
||||||
route_lock_node (rn);
|
route_lock_node (rn);
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
/* If the longest prefix match for the nexthop yields
|
/* If the longest prefix match for the nexthop yields
|
||||||
* a blackhole, mark it as inactive. */
|
* a blackhole, mark it as inactive. */
|
||||||
if (CHECK_FLAG (match->flags, ZEBRA_FLAG_BLACKHOLE)
|
if (CHECK_FLAG (match->flags, ZEBRA_FLAG_BLACKHOLE)
|
||||||
@ -565,7 +566,6 @@ nexthop_active (afi_t afi, struct route_entry *re, struct nexthop *nexthop, int
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user