From abcbfd0400eeb514c63376b50d3948581c20ca4c Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 6 Jun 2000 02:34:57 +0000 Subject: Tracing. --- proto/ospf/rt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'proto/ospf/rt.c') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 32aeed2..726fe04 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -45,7 +45,7 @@ ospf_rt_spfa(struct ospf_area *oa) ip_addr ip; struct ospf_lsa_net *ln; - debug("%s: Starting routing table calculation for area %I\n",p->name, + OSPF_TRACE(D_EVENTS, "Starting routing table calculation for area %I", oa->areaid); if(oa->rt==NULL) return; @@ -266,8 +266,7 @@ ospf_ext_spfa(struct proto_ospf *po) /* FIXME looking into inter-area */ u32 tag; neighbor *nn; - debug("%s: Starting routing table calculation for external routes\n", - p->name); + OSPF_TRACE(D_EVENTS,"Starting routing table calculation for ext routes"); FIB_WALK(ef,nftmp) { -- cgit v1.2.3