summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-02-05 15:59:26 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-02-05 15:59:26 +0100
commit52fdd1cb76be1e278799001fa57f56888062dd86 (patch)
tree849bc02a446c15f95ace41bc071839c575c101a4 /nest
parenta9b97cbcb74d918f3f606eb87a506712dccd2832 (diff)
Nest: Report preferred counters also when 'import keep filtered' is enabled
Thanks to Michal Nowak for reporting the issue.
Diffstat (limited to 'nest')
-rw-r--r--nest/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c
index ab92d90f..d4a333d0 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -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);