From c89c05dd04d097bd8213125a42d67204bb681de5 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 4 Sep 2005 21:36:36 +0000 Subject: * *.c: Try to be less verbose by default (without any debug options on). * isis_lsp.c (lsp_build_nonpseudo): Use stream_reset() instead of touching endp directly. * isis_lsp.c (lsp_build_pseudo): Ditto. --- isisd/isisd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'isisd/isisd.c') diff --git a/isisd/isisd.c b/isisd/isisd.c index e6679cf3..a8d6950a 100644 --- a/isisd/isisd.c +++ b/isisd/isisd.c @@ -171,7 +171,8 @@ isis_area_get (struct vty *vty, const char *area_tag) area->area_tag = strdup (area_tag); listnode_add (isis->area_list, area); - zlog_debug ("new IS-IS area instance %s", area->area_tag); + if (isis->debugs & DEBUG_EVENTS) + zlog_debug ("New IS-IS area instance %s", area->area_tag); vty->node = ISIS_NODE; vty->index = area; @@ -260,7 +261,8 @@ area_net_title (struct vty *vty, u_char *net_title) */ memcpy (isis->sysid, GETSYSID (addr, ISIS_SYS_ID_LEN), ISIS_SYS_ID_LEN); isis->sysid_set = 1; - zlog_debug ("Router has SystemID %s", sysid_print (isis->sysid)); + if (isis->debugs & DEBUG_EVENTS) + zlog_debug ("Router has SystemID %s", sysid_print (isis->sysid)); } else { -- cgit v1.2.1