mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Nest: Report preferred counters also when 'import keep filtered' is enabled
Thanks to Michal Nowak for reporting the issue.
This commit is contained in:
parent
a9b97cbcb7
commit
52fdd1cb76
@ -1693,8 +1693,8 @@ channel_show_stats(struct channel *c)
|
||||
struct proto_stats *s = &c->stats;
|
||||
|
||||
if (c->in_keep_filtered)
|
||||
cli_msg(-1006, " Routes: %u imported, %u filtered, %u exported",
|
||||
s->imp_routes, s->filt_routes, s->exp_routes);
|
||||
cli_msg(-1006, " Routes: %u imported, %u filtered, %u exported, %u preferred",
|
||||
s->imp_routes, s->filt_routes, s->exp_routes, s->pref_routes);
|
||||
else
|
||||
cli_msg(-1006, " Routes: %u imported, %u exported, %u preferred",
|
||||
s->imp_routes, s->exp_routes, s->pref_routes);
|
||||
|
Loading…
Reference in New Issue
Block a user