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/isis_circuit.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'isisd/isis_circuit.c') diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index b99fa5da..e885a658 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -404,7 +404,9 @@ isis_circuit_if_add (struct isis_circuit *circuit, struct interface *ifp) } 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 @@ DEFUN (ip_router_isis, 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 @@ DEFUN (ip_router_isis, /* 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; } -- cgit v1.2.1