summaryrefslogtreecommitdiffstats
path: root/isisd/isis_dr.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-04 23:36:36 +0200
committerhasso <hasso>2005-09-04 23:36:36 +0200
commitc89c05dd04d097bd8213125a42d67204bb681de5 (patch)
treeb8bde80fab9ea45f035edcb71ce1795abcb039c8 /isisd/isis_dr.c
parent * isis_lsp.c: Yet another regression introduced by stream cleanup. (diff)
downloadfrr-c89c05dd04d097bd8213125a42d67204bb681de5.tar.xz
frr-c89c05dd04d097bd8213125a42d67204bb681de5.zip
* *.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/isis_dr.c')
-rw-r--r--isisd/isis_dr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_dr.c b/isisd/isis_dr.c
index a5891f945..335946c85 100644
--- a/isisd/isis_dr.c
+++ b/isisd/isis_dr.c
@@ -307,7 +307,8 @@ isis_dr_commence (struct isis_circuit *circuit, int level)
{
u_char old_dr[ISIS_SYS_ID_LEN + 2];
- zlog_debug ("isis_dr_commence l%d", level);
+ if (isis->debugs & DEBUG_EVENTS)
+ zlog_debug ("isis_dr_commence l%d", level);
/* Lets keep a pause in DR election */
circuit->u.bc.run_dr_elect[level - 1] = 0;