mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 18:27:21 +00:00
Merge pull request #11646 from opensourcerouting/fix/memory_show
bgpd: Show extended communities memory consumption
This commit is contained in:
commit
a6de2db239
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user