From: Eyal Birger Date: Fri, 2 Oct 2020 09:34:28 +0000 (+0300) Subject: ipntable: add missing ndts_table_fulls ntable stat X-Git-Tag: v5.9.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e410c963e398e4a83c113af9ce74b65f8afc306f;p=thirdparty%2Fiproute2.git ipntable: add missing ndts_table_fulls ntable stat Used for tracking neighbour table overflows. Signed-off-by: Eyal Birger Signed-off-by: Stephen Hemminger --- diff --git a/ip/ipntable.c b/ip/ipntable.c index ddee4905d..b5b06a3b0 100644 --- a/ip/ipntable.c +++ b/ip/ipntable.c @@ -517,6 +517,11 @@ static void print_ndtstats(const struct ndt_stats *ndts) print_u64(PRINT_ANY, "forced_gc_runs", "forced_gc_runs %llu ", ndts->ndts_forced_gc_runs); + print_string(PRINT_FP, NULL, "%s ", _SL_); + + print_u64(PRINT_ANY, "table_fulls", "table_fulls %llu ", + ndts->ndts_table_fulls); + print_nl(); }