mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-28 12:10:53 +00:00
lib, zebra: Fix 'show ip route' char collision
Apparently 'f' means both OpenFabric and a Failed kernel route installation. Let's switch the 'f' for the failed kernel route installation to 'r - rejected route'. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
275565fb5a
commit
b0538fc8b7
@ -121,7 +121,7 @@ sub codelist {
|
||||
}
|
||||
$str =~ s/ $//;
|
||||
push @lines, $str . "\\n\" \\\n";
|
||||
push @lines, " \" > - selected route, * - FIB route, q - queued route, f - failed route\\n\\n\"";
|
||||
push @lines, " \" > - selected route, * - FIB route, q - queued route, r - rejected route\\n\\n\"";
|
||||
return join("", @lines);
|
||||
}
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ static char re_status_output_char(struct route_entry *re, struct nexthop *nhop)
|
||||
if (CHECK_FLAG(re->status, ROUTE_ENTRY_QUEUED))
|
||||
return 'q';
|
||||
|
||||
return 'f';
|
||||
return 'r';
|
||||
}
|
||||
|
||||
if (CHECK_FLAG(re->status, ROUTE_ENTRY_QUEUED))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user