mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 12:16:46 +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)
|
static char re_status_output_char(struct route_entry *re, struct nexthop *nhop)
|
||||||
{
|
{
|
||||||
if (CHECK_FLAG(re->status, ROUTE_ENTRY_INSTALLED)) {
|
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 '*';
|
return '*';
|
||||||
else
|
else
|
||||||
return ' ';
|
return ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user