summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-04 21:36:36 +0000
committerhasso <hasso>2005-09-04 21:36:36 +0000
commitc89c05dd04d097bd8213125a42d67204bb681de5 (patch)
treeb8bde80fab9ea45f035edcb71ce1795abcb039c8 /isisd/isisd.c
parentc0fb2a52150ece6042181ab49fafc12b3ba07870 (diff)
* *.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.
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c6
1 files changed, 4 insertions, 2 deletions
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
{