diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 01:46:31 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 01:46:31 +0200 |
commit | 43e75f38e7b8716efb3729ee56fd4a879e03c1dc (patch) | |
tree | 52046a7c07f8d19b278ddf0393c819c6863e8808 /proto/ospf/neighbor.c | |
parent | ed4a53c6a5685d04fe2b0cceda83860324f4892c (diff) | |
download | bird-43e75f38e7b8716efb3729ee56fd4a879e03c1dc.tar bird-43e75f38e7b8716efb3729ee56fd4a879e03c1dc.zip |
Do not stop lsrr_timer in FULL state. Use it for retransmition.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 56e8aab..0d479df 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -45,7 +45,6 @@ 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) { @@ -65,6 +64,7 @@ neigh_chstate(struct ospf_neighbor *n, u8 state) n->myimms.bit.i=1; tm_start(n->rxmt_timer,1); /* Or some other number ? */ } + if(state<NEIGHBOR_EXCHANGE) tm_stop(n->lsrr_timer); } } |