From 52fdd1cb76be1e278799001fa57f56888062dd86 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 5 Feb 2019 15:59:26 +0100 Subject: Nest: Report preferred counters also when 'import keep filtered' is enabled Thanks to Michal Nowak for reporting the issue. --- nest/proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nest') 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); -- cgit v1.2.3