diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-05-13 23:50:16 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-05-13 23:50:16 +0100 |
commit | 76c460a85aa0aea7dc90948f3b52979d09f94812 (patch) | |
tree | aa6d4404250ea4d06596bb6f627fa974783fb5f7 /lib/memory.c | |
parent | e310717c85410af6caa29b7819c8c988cc149eb6 (diff) | |
download | quagga-76c460a85aa0aea7dc90948f3b52979d09f94812.tar.bz2 quagga-76c460a85aa0aea7dc90948f3b52979d09f94812.tar.xz |
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.
Diffstat (limited to 'lib/memory.c')
-rw-r--r-- | lib/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) ; |