diff options
author | Ondrej Filip <feela@network.cz> | 2000-03-30 19:21:17 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-03-30 19:21:17 +0000 |
commit | 76915ec9798a2c067ef05c6fb94cea58af12128e (patch) | |
tree | 6f7349ca609563d330866b405722eff30e6b74cf /proto | |
parent | 973399ae2c21b41983a35fe71657fb41351d99e6 (diff) |
Minor changes.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/lsreq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index 954ad7b7..5aa59f59 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -25,7 +25,11 @@ ospf_lsreq_tx(struct ospf_neighbor *n) fill_ospf_pkt_hdr(n->ifa, pk, LSREQ); sn=SHEAD(n->lsrql); - if(sn==NULL) return; + if(sn==NULL) + { + if(n->state==NEIGHBOR_LOADING) ospf_neigh_sm(n, INM_LOADDONE); + return; + } i=j=(n->ifa->iface->mtu-SIPH-sizeof(struct ospf_lsreq_packet))/ sizeof(struct ospf_lsreq_header); |