mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
isisd: guard SPF warning by debug flag
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
parent
b4f816c3f0
commit
ce837d81cc
@ -1294,10 +1294,10 @@ static int isis_run_spf(struct isis_area *area, int level, int family,
|
|||||||
/*
|
/*
|
||||||
* C.2.7 Step 2
|
* 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",
|
zlog_warn("ISIS-Spf: TENT is empty SPF-root:%s",
|
||||||
print_sys_hostname(sysid));
|
print_sys_hostname(sysid));
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
while (isis_vertex_queue_count(&spftree->tents)) {
|
while (isis_vertex_queue_count(&spftree->tents)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user