* *.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.
diff --git a/isisd/isisd.c b/isisd/isisd.c
index e6679cf..a8d6950 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -171,7 +171,8 @@
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 @@
*/
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
{