Revision 44724025 proto/ospf/lsupd.c

View differences:

proto/ospf/lsupd.c
59 59
	      break;
60 60
	    case CMP_SAME:
61 61
              s_rem_node(SNODE en);
62
	      DBG("Removing from lsreq list for neigh %u\n", nn->rid);
62
	      DBG("Removing from lsreq list for neigh %I\n", nn->rid);
63 63
	      ospf_hash_delete(nn->lsrqh,en);
64 64
	      if(EMPTY_SLIST(nn->lsrql)) ospf_neigh_sm(nn, INM_LOADDONE);
65 65
	      continue;
66 66
	      break;
67 67
	    case CMP_NEWER:
68 68
              s_rem_node(SNODE en);
69
	      DBG("Removing from lsreq list for neigh %u\n", nn->rid);
69
	      DBG("Removing from lsreq list for neigh %I\n", nn->rid);
70 70
	      ospf_hash_delete(nn->lsrqh,en);
71 71
	      if(EMPTY_SLIST(nn->lsrql)) ospf_neigh_sm(nn, INM_LOADDONE);
72 72
	      break;
......
162 162
  WALK_LIST(llsh, *l)
163 163
  {
164 164
    en=ospf_hash_find(n->ifa->oa->gr,llsh->lsh.id,llsh->lsh.rt,llsh->lsh.type);
165
    DBG("Sending ID=%u, Type=%u, RT=%u\n", llsh->lsh.id, llsh->lsh.type,
165
    DBG("Sending ID=%I, Type=%u, RT=%I\n", llsh->lsh.id, llsh->lsh.type,
166 166
      llsh->lsh.rt);
167 167
    if((len+sizeof(struct ospf_lsa_header)+en->lsa.length)>n->ifa->iface->mtu)
168 168
    {
......
217 217

  
218 218
  if((n=find_neigh(ifa, nrid))==NULL)
219 219
  {
220
    debug("%s: Received lsupd from unknown neigbor! (%u)\n", p->name,
220
    debug("%s: Received lsupd from unknown neigbor! (%I)\n", p->name,
221 221
      nrid);
222 222
    return ;
223 223
  }
224 224
  if(n->state<NEIGHBOR_EXCHANGE)
225 225
  {
226
    debug("%s: Received lsupd in lesser state than EXCHANGE from (%u)\n",
226
    debug("%s: Received lsupd in lesser state than EXCHANGE from (%I)\n",
227 227
      p->name);
228 228
    return;
229 229
  }
......
239 239
    /* pg 143 (1) */
240 240
    if(lsa->checksum!=lsasum_check(lsa,NULL,po))
241 241
    {
242
      log("Received bad lsa checksum from %u\n",n->rid);
242
      log("Received bad lsa checksum from %I\n",n->rid);
243 243
      continue;
244 244
    }
245 245
    /* pg 143 (2) */
246 246
    if((lsa->type<LSA_T_RT)||(lsa->type>LSA_T_EXT))
247 247
    {
248
      log("Unknown LSA type from %u\n",n->rid);
248
      log("Unknown LSA type from %I\n",n->rid);
249 249
      continue;
250 250
    }
251 251
    /* pg 143 (3) */
252 252
    if((lsa->type==LSA_T_EXT)&&oa->stub)
253 253
    {
254
      log("Received External LSA in stub area from %u\n",n->rid);
254
      log("Received External LSA in stub area from %I\n",n->rid);
255 255
      continue;
256 256
    }
257 257
    ntohlsah(lsa,&lsatmp);
258
    DBG("Processing update Type: %u ID: %u RT: %u\n",lsatmp.type,
258
    DBG("Processing update Type: %u ID: %I RT: %I\n",lsatmp.type,
259 259
        lsatmp.id, lsatmp.rt);
260 260
    lsadb=ospf_hash_find_header(oa->gr, &lsatmp);
261 261

  

Also available in: Unified diff