summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 00:49:58 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 00:49:58 +0200
commit9bacea42112216e604bd55e3027e019e131304dd (patch)
tree4d507bd38e1b20212452dbfc2d29b53ac9076b3f /proto/ospf/neighbor.c
parent8a3049f6f139622c6976502d931c746449a1fe48 (diff)
downloadbird-9bacea42112216e604bd55e3027e019e131304dd.tar
bird-9bacea42112216e604bd55e3027e019e131304dd.zip
Fixed some FIXME's by deleting them. :-)
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 1527937..56e8aab 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -45,6 +45,7 @@ neigh_chstate(struct ospf_neighbor *n, u8 state)
ifa->fadj++;
originate_rt_lsa(n->ifa->oa,n->ifa->oa->po);
originate_net_lsa(ifa,ifa->oa->po);
+ tm_stop(n->lsrr_timer);
}
if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART)
{
@@ -247,7 +248,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
break;
case INM_EXDONE:
neigh_chstate(n,NEIGHBOR_LOADING);
- /* FIXME Go on */
break;
case INM_LOADDONE:
neigh_chstate(n,NEIGHBOR_FULL);
@@ -267,7 +267,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
if(!can_do_adj(n))
{
neigh_chstate(n,NEIGHBOR_2WAY);
- /* FIXME Stop timers, kill database... */
}
break;
}
@@ -278,7 +277,6 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
if(n->state>=NEIGHBOR_EXCHANGE)
{
neigh_chstate(n,NEIGHBOR_EXSTART);
- /* FIXME: Go on....*/
}
break;
case INM_KILLNBR: