From: hasso Date: Tue, 20 Apr 2004 03:50:59 +0000 (+0000) Subject: Fix debug message and make it conditional. X-Git-Tag: frr-2.0-rc1~3748 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9e1be242e41ccfd2191a7d163053b9c24deaf2e0;p=matthieu%2Ffrr.git Fix debug message and make it conditional. --- diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c index 9889d6be5c..d56b5658a3 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. */