summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-13 23:22:32 +0200
committerOndrej Filip <feela@network.cz>2004-07-13 23:22:32 +0200
commit35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf (patch)
treec9da9f88e8134f729c05106c40309a1ae8fd1d3f /proto/ospf/lsalib.c
parent16c2d48d8fe10521fd493886cf245c75d843fc69 (diff)
downloadbird-35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf.tar
bird-35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf.zip
Don't inform us about every ospf_age()
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 02718da..7ea8304 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -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)
{