]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Don't inform us about every ospf_age()
authorOndrej Filip <feela@network.cz>
Tue, 13 Jul 2004 21:22:32 +0000 (21:22 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 13 Jul 2004 21:22:32 +0000 (21:22 +0000)
proto/ospf/lsalib.c

index 02718da8129630d5aa798bc29fb447b80f80f1f2..7ea8304ccdb863ec93e94ee104cfcc1eca21dee8 100644 (file)
@@ -46,7 +46,7 @@ ospf_age(struct ospf_area *oa)
   int flush = can_flush_lsa(oa);
   int cleanup = (oa->rt && (oa->rt->dist != LSINFINITY));
 
-  OSPF_TRACE(D_EVENTS, "Running ospf_age");
+  if (cleanup) OSPF_TRACE(D_EVENTS, "Running ospf_age cleanup");
 
   WALK_SLIST_DELSAFE(en, nxt, oa->lsal)
   {