summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorhasso <hasso>2004-04-20 03:50:59 +0000
committerhasso <hasso>2004-04-20 03:50:59 +0000
commit9e1be242e41ccfd2191a7d163053b9c24deaf2e0 (patch)
tree8227505bc79fa8e2e9b4e94b08fb292b31f83da2 /ospfd
parent52930766277e57fcc2332e35cefd2bd07bb7ed16 (diff)
Fix debug message and make it conditional.
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index 9889d6be..d56b5658 100644
--- a/ospfd/ospf_route.c
+++ b/ospfd/ospf_route.c
@@ -417,7 +417,8 @@ ospf_intra_add_router (struct route_table *rt, struct vertex *v,
listnode_add (rn->info, or);
- zlog_info ("ospf_intra_add_router: Start");
+ if (IS_DEBUG_OSPF_EVENT)
+ zlog_info ("ospf_intra_add_router: Stop");
}
/* RFC2328 16.1. (4). For transit network. */