Revision 9669362f proto/ospf/topology.c

View differences:

proto/ospf/topology.c
7 7
 *	Can be freely distributed and used under the terms of the GNU GPL.
8 8
 */
9 9

  
10
#define LOCAL_DEBUG
11

  
12 10
#include "nest/bird.h"
13 11
#include "lib/string.h"
14 12

  
......
34 32
  struct top_hash_entry *old;
35 33
  struct proto_ospf *po=(struct proto_ospf *)p;
36 34

  
37
  DBG("%s: Originating RT_lsa body for area \"%I\".\n", po->proto.name, oa->areaid);
35
  DBG("%s: Originating RT_lsa body for area \"%I\".\n", po->proto.name,
36
    oa->areaid);
38 37

  
39
  WALK_LIST (ifa, p->iface_list) i++;
38
  WALK_LIST (ifa, p->iface_list)
40 39
  {
41 40
    if((ifa->an==oa->areaid) && (ifa->state!=OSPF_IS_DOWN))
42 41
    {
......
226 225
  struct top_hash_entry *en;
227 226
  void *body;
228 227

  
229
  DBG("%s: Originating RT_lsa for area \"%I\".\n", po->proto.name, oa->areaid);
228
  debug("%s: Originating RT_lsa for area \"%I\".\n",po->proto.name,oa->areaid);
230 229

  
231 230
  lsa.age=0;
232 231
  lsa.id=rtid;
......
287 286

  
288 287
  if(ifa->state!=OSPF_IS_DR) return;
289 288

  
290
  DBG("%s: Originating Net lsa for iface \"%s\".\n", po->proto.name, ifa->iface->name);
289
  debug("%s: Originating Net lsa for iface \"%s\".\n", po->proto.name,
290
    ifa->iface->name);
291 291

  
292 292
  if(ifa->fadj==0)
293 293
  {

Also available in: Unified diff