summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_spf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index 9acbc2183..bc852e209 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -1294,10 +1294,10 @@ static int isis_run_spf(struct isis_area *area, int level, int family,
/*
* C.2.7 Step 2
*/
- if (isis_vertex_queue_count(&spftree->tents) == 0) {
+ if (!isis_vertex_queue_count(&spftree->tents)
+ && (isis->debugs & DEBUG_SPF_EVENTS)) {
zlog_warn("ISIS-Spf: TENT is empty SPF-root:%s",
print_sys_hostname(sysid));
- goto out;
}
while (isis_vertex_queue_count(&spftree->tents)) {