From 2c1de2a8b89f3d3364ad716cfbba295097c7fc61 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 25 Apr 2005 14:02:44 +0000 Subject: 2005-04-25 Paul Jakma * memory.c: Make the string field much wider * memtypes.c: Correct the prefix list str/entry strings --- lib/ChangeLog | 2 ++ lib/memory.c | 2 +- lib/memtypes.c | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 3b619d8b..61b37642 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -2,6 +2,8 @@ * Makefile.am: Refer to source files via srcdir variable, fix out-of-tree build breakage. + * memory.c: Make the string field much wider + * memtypes.c: Correct the prefix list str/entry strings 2005-04-22 Andrew J. Schorr diff --git a/lib/memory.c b/lib/memory.c index 335a9211..adf23b19 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -264,7 +264,7 @@ show_memory_vty (struct vty *vty, struct memory_list *list) if (m->index == 0) vty_out (vty, "-----------------------------\r\n"); else - vty_out (vty, "%-22s: %10ld\r\n", m->format, mstat[m->index].alloc); + vty_out (vty, "%-30s: %10ld\r\n", m->format, mstat[m->index].alloc); } DEFUN (show_memory_all, diff --git a/lib/memtypes.c b/lib/memtypes.c index 6ee75a58..7caa42a1 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -6,7 +6,7 @@ * The script is sensitive to the format (though not whitespace), see * the top of memtypes.awk for more details. * - * $Id: memtypes.c,v 1.2 2005/04/16 15:51:05 paul Exp $ + * $Id: memtypes.c,v 1.3 2005/04/25 14:02:44 paul Exp $ */ #include "zebra.h" @@ -48,8 +48,8 @@ struct memory_list memory_list_lib[] = { MTYPE_ACCESS_LIST_STR, "Access List Str" }, { MTYPE_ACCESS_FILTER, "Access Filter" }, { MTYPE_PREFIX_LIST, "Prefix List" }, - { MTYPE_PREFIX_LIST_ENTRY, "Prefix List Str" }, - { MTYPE_PREFIX_LIST_STR, "Prefix List Entry" }, + { MTYPE_PREFIX_LIST_ENTRY, "Prefix List Entry" }, + { MTYPE_PREFIX_LIST_STR, "Prefix List Str" }, { MTYPE_ROUTE_MAP, "Route map" }, { MTYPE_ROUTE_MAP_NAME, "Route map name" }, { MTYPE_ROUTE_MAP_INDEX, "Route map index" }, -- cgit v1.2.1