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
1 changed files with 2 additions and 2 deletions
|
@ -1693,8 +1693,8 @@ channel_show_stats(struct channel *c)
|
||||||
struct proto_stats *s = &c->stats;
|
struct proto_stats *s = &c->stats;
|
||||||
|
|
||||||
if (c->in_keep_filtered)
|
if (c->in_keep_filtered)
|
||||||
cli_msg(-1006, " Routes: %u imported, %u filtered, %u exported",
|
cli_msg(-1006, " Routes: %u imported, %u filtered, %u exported, %u preferred",
|
||||||
s->imp_routes, s->filt_routes, s->exp_routes);
|
s->imp_routes, s->filt_routes, s->exp_routes, s->pref_routes);
|
||||||
else
|
else
|
||||||
cli_msg(-1006, " Routes: %u imported, %u exported, %u preferred",
|
cli_msg(-1006, " Routes: %u imported, %u exported, %u preferred",
|
||||||
s->imp_routes, s->exp_routes, s->pref_routes);
|
s->imp_routes, s->exp_routes, s->pref_routes);
|
||||||
|
|
Loading…
Reference in a new issue