Revision 43e75f38

View differences:

proto/ospf/lsreq.c
69 69
  p=(struct proto *)(ifa->proto);
70 70
  debug("%s: LSRR timer fired on interface %s for neigh: %I.\n",
71 71
    p->name, ifa->iface->name, n->rid);
72
  ospf_lsreq_tx(n);
72
  if(n->state<NEIGHBOR_FULL) ospf_lsreq_tx(n);
73
  else
74
  {
75
    int i;	/* FIXME Retransmit lsupd again */
76
  }
73 77
}
74 78

  
75 79
void
proto/ospf/neighbor.c
45 45
      ifa->fadj++;
46 46
      originate_rt_lsa(n->ifa->oa,n->ifa->oa->po);
47 47
      originate_net_lsa(ifa,ifa->oa->po);
48
      tm_stop(n->lsrr_timer);
49 48
    }
50 49
    if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART)
51 50
    {
......
65 64
      n->myimms.bit.i=1;
66 65
      tm_start(n->rxmt_timer,1);	/* Or some other number ? */
67 66
    }
67
    if(state<NEIGHBOR_EXCHANGE) tm_stop(n->lsrr_timer);
68 68
  }
69 69
}
70 70

  
proto/ospf/ospf.h
294 294
  struct top_graph *lsrth;
295 295
  void *ldbdes;		/* Last database description packet */
296 296
  timer *rxmt_timer;	/* RXMT timer */
297
  timer *lsrr_timer;	/* Link state requiest retransmition timer */
297
  timer *lsrr_timer;	/* Link state request retransmition timer */
298 298
  list ackl;
299 299
  timer *ackd_timer;	/* Delayed ack timer */
300 300
};

Also available in: Unified diff