From 76c460a85aa0aea7dc90948f3b52979d09f94812 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Thu, 13 May 2010 23:50:16 +0100 Subject: Reinstate NOTIFICATION logging and turn off Memory Tracker In the introduction of the BGP Engine the logging of NOTIFICATION messages fell by the wayside. This change reinstates that logging. This change also turns off the Memory Tracker, unless QDEBUG is defined. --- lib/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/memory.c') diff --git a/lib/memory.c b/lib/memory.c index fb0e8d0d..5ee33aa8 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -587,7 +587,7 @@ DEFUN_CALL (show_memory_summary, LOCK ; for (mtype = 1 ; mtype < MTYPE_MAX ; ++mtype) - alloc += mstat[mtype] ; + alloc += mstat.mt[mtype].alloc ; UNLOCK vty_out(vty, "%ld items allocated%s", alloc, VTY_NEWLINE) ; -- cgit v1.2.3