From: Ondrej Filip Date: Tue, 13 Jul 2004 21:22:32 +0000 (+0000) Subject: Don't inform us about every ospf_age() X-Git-Tag: v1.2.0~266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf;p=thirdparty%2Fbird.git Don't inform us about every ospf_age() --- diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c index 02718da81..7ea8304cc 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) {