]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: guard SPF warning by debug flag 1070/head
authorChristian Franke <chris@opensourcerouting.org>
Mon, 28 Aug 2017 22:28:04 +0000 (00:28 +0200)
committerChristian Franke <chris@opensourcerouting.org>
Mon, 28 Aug 2017 23:19:45 +0000 (01:19 +0200)
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
isisd/isis_spf.c

index 143d5fbfb1f31b7be1ed7ea4292667d4843db6b9..acdeaaeeb9492098e902ea85475171e381aee4c7 100644 (file)
@@ -1153,7 +1153,8 @@ static int isis_run_spf(struct isis_area *area, int level, int family,
        /*              b) */
        retval = isis_spf_preload_tent(spftree, level, family, sysid,
                                       root_vertex);
-       if (retval != ISIS_OK) {
+       if (retval != ISIS_OK
+           && (isis->debugs & DEBUG_SPF_EVENTS)) {
                zlog_warn("ISIS-Spf: failed to load TENT SPF-root:%s",
                          print_sys_hostname(sysid));
                goto out;