diff options
author | Ondrej Filip <feela@network.cz> | 2004-05-31 13:22:49 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-05-31 13:22:49 +0000 |
commit | 781aa475aaa7503d4a86f0d4b8771cd027d30c04 (patch) | |
tree | 776c01f1436d3068e9f49e3955de52100a337364 /proto/ospf/neighbor.c | |
parent | de259a41e3175d4080d5a33a39f0279308a25b56 (diff) |
Minor bug fix in neighbor state machine.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index d9c9b1be..785e3bca 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -67,6 +67,11 @@ neigh_chstate(struct ospf_neighbor *n, u8 state) schedule_rt_lsa(ifa->oa); schedule_net_lsa(ifa); } + if(oldstate>=NEIGHBOR_EXSTART && state<NEIGHBOR_EXSTART) + { + /* Stop RXMT timer */ + tm_stop(n->rxmt_timer); + } if(state==NEIGHBOR_EXSTART) { if(n->adj==0) /* First time adjacency */ @@ -294,6 +299,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) } break; case INM_SEQMIS: + OSPF_TRACE(D_EVENTS, "Seq mis!"); case INM_BADLSREQ: OSPF_TRACE(D_EVENTS, "Bad LS req!"); if(n->state>=NEIGHBOR_EXCHANGE) |