mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 22:30:43 +00:00
zebra: Do not display recursive nexthops as installed
Recursive nexthops should not be marked as installed Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
6c47d39902
commit
e625a783ed
@ -164,7 +164,8 @@ DEFUN (show_ip_rpf_addr,
|
||||
static char re_status_output_char(struct route_entry *re, struct nexthop *nhop)
|
||||
{
|
||||
if (CHECK_FLAG(re->status, ROUTE_ENTRY_INSTALLED)) {
|
||||
if (!CHECK_FLAG(nhop->flags, NEXTHOP_FLAG_DUPLICATE))
|
||||
if (!CHECK_FLAG(nhop->flags, NEXTHOP_FLAG_DUPLICATE) &&
|
||||
!CHECK_FLAG(nhop->flags, NEXTHOP_FLAG_RECURSIVE))
|
||||
return '*';
|
||||
else
|
||||
return ' ';
|
||||
|
Loading…
Reference in New Issue
Block a user