]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_vty.c
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
[mirror_frr.git] / bgpd / bgp_vty.c
index e705a714e954bd2abdd1f4e7f6d987e2a2b330fb..c7f8494d3bfe280a6235e176ab119cdf1fc81c3c 100644 (file)
@@ -7524,12 +7524,13 @@ DEFUN (show_bgp_memory,
        count = mtype_stats_alloc(MTYPE_BGP_ROUTE);
        vty_out(vty, "%ld BGP routes, using %s of memory\n", count,
                mtype_memstr(memstrbuf, sizeof(memstrbuf),
-                            count * sizeof(struct bgp_info)));
+                            count * sizeof(struct bgp_path_info)));
        if ((count = mtype_stats_alloc(MTYPE_BGP_ROUTE_EXTRA)))
                vty_out(vty, "%ld BGP route ancillaries, using %s of memory\n",
                        count,
-                       mtype_memstr(memstrbuf, sizeof(memstrbuf),
-                                    count * sizeof(struct bgp_info_extra)));
+                       mtype_memstr(
+                               memstrbuf, sizeof(memstrbuf),
+                               count * sizeof(struct bgp_path_info_extra)));
 
        if ((count = mtype_stats_alloc(MTYPE_BGP_STATIC)))
                vty_out(vty, "%ld Static routes, using %s of memory\n", count,