* *.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/isis_circuit.c b/isisd/isis_circuit.c
index b99fa5d..e885a65 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -404,7 +404,9 @@
}
else
{
- zlog_warn ("isis_circuit_if_add: unsupported media");
+ /* It's normal in case of loopback etc. */
+ if (isis->debugs & DEBUG_EVENTS)
+ zlog_debug ("isis_circuit_if_add: unsupported media");
}
for (ALL_LIST_ELEMENTS (ifp->connected, node, nnode, conn))
@@ -842,7 +844,8 @@
if (c->ipv6_router == 0)
{
#endif /* HAVE_IPV6 */
- vty_out (vty, "ISIS circuit is already defined%s", VTY_NEWLINE);
+ /* FIXME: Find the way to warn only vty users. */
+ /* vty_out (vty, "ISIS circuit is already defined%s", VTY_NEWLINE); */
return CMD_WARNING;
#ifdef HAVE_IPV6
}
@@ -852,7 +855,8 @@
/* this is here for ciscopability */
if (!area)
{
- vty_out (vty, "Can't find ISIS instance %s", VTY_NEWLINE);
+ /* FIXME: Find the way to warn only vty users. */
+ /* vty_out (vty, "Can't find ISIS instance %s", VTY_NEWLINE); */
return CMD_WARNING;
}