Revision 23d67029 proto/ospf/lsupd.c

View differences:

proto/ospf/lsupd.c
50 50
      if (ifa->oa != oa)
51 51
        continue;
52 52
    }
53

  
54
    DBG("Wanted to flood LSA: Type: %u, ID: %I, RT: %I, SN: 0x%x, Age %u\n",
55
	hh->type, hh->id, hh->rt, hh->sn, hh->age);
56

  
53 57
    ret = 0;
54 58
    WALK_LIST(nn, ifa->neigh_list)
55 59
    {
......
59 63
      {
60 64
	if ((en = ospf_hash_find_header(nn->lsrqh, nn->ifa->oa->areaid, hh)) != NULL)
61 65
	{
66
	  DBG("That LSA found in lsreq list for neigh %I\n", nn->rid);
67

  
62 68
	  switch (lsa_comp(hh, &en->lsa))
63 69
	  {
64 70
	  case CMP_OLDER:
......
106 112
	}
107 113
	s_add_tail(&nn->lsrtl, SNODE en);
108 114
	memcpy(&en->lsa, hh, sizeof(struct ospf_lsa_header));
109
	DBG("Adding LSA lsrt RT: %I, Id: %I, Type: %u for n: %I\n",
110
	    en->lsa.rt, en->lsa.id, en->lsa.type, nn->ip);
115
	DBG("Adding that LSA for flood to %I\n", nn->ip);
111 116
      }
112 117
      else
113 118
      {
......
245 250
      continue;			/* Probably flushed LSA */
246 251
    /* FIXME This is a bug! I cannot flush LSA that is in lsrt */
247 252

  
248
    DBG("Sending ID=%I, Type=%u, RT=%I Sn: 0x%x Age: %u\n",
249
	llsh->lsh.id, llsh->lsh.type, llsh->lsh.rt, en->lsa.sn, en->lsa.age);
253
    DBG("Sending LSA: Type=%u, ID=%I, RT=%I, SN: 0x%x, Age: %u\n",
254
	llsh->lsh.type, llsh->lsh.id, llsh->lsh.rt, en->lsa.sn, en->lsa.age);
250 255
    if (((u32) (len + en->lsa.length)) > ospf_pkt_maxsize(n->ifa))
251 256
    {
252 257
      pk->lsano = htonl(lsano);

Also available in: Unified diff