From 145f7619aad936fde4f5693a485904bf4d20337d Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 19 Jul 2022 14:02:41 +0300 Subject: [PATCH] bgpd: Show extended communities memory consumption Just fix the description because it's wrong. Signed-off-by: Donatas Abraitis --- bgpd/bgp_vty.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 42d19d0315..c049d75b8e 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -10173,9 +10173,11 @@ DEFUN (show_bgp_memory, count, mtype_memstr(memstrbuf, sizeof(memstrbuf), count * sizeof(struct community))); if ((count = mtype_stats_alloc(MTYPE_ECOMMUNITY))) - vty_out(vty, "%ld BGP community entries, using %s of memory\n", - count, mtype_memstr(memstrbuf, sizeof(memstrbuf), - count * sizeof(struct ecommunity))); + vty_out(vty, + "%ld BGP ext-community entries, using %s of memory\n", + count, + mtype_memstr(memstrbuf, sizeof(memstrbuf), + count * sizeof(struct ecommunity))); if ((count = mtype_stats_alloc(MTYPE_LCOMMUNITY))) vty_out(vty, "%ld BGP large-community entries, using %s of memory\n",