summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-13 21:22:32 +0000
committerOndrej Filip <feela@network.cz>2004-07-13 21:22:32 +0000
commit35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf (patch)
treec9da9f88e8134f729c05106c40309a1ae8fd1d3f /proto/ospf
parent16c2d48d8fe10521fd493886cf245c75d843fc69 (diff)
Don't inform us about every ospf_age()
Diffstat (limited to 'proto/ospf')
-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 02718da8..7ea8304c 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)
{