summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog2
-rw-r--r--lib/memory.c2
-rw-r--r--lib/memtypes.c6
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 <ajschorr@alumni.princeton.edu>
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" },