summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-30 21:21:17 +0200
committerOndrej Filip <feela@network.cz>2000-03-30 21:21:17 +0200
commit76915ec9798a2c067ef05c6fb94cea58af12128e (patch)
tree6f7349ca609563d330866b405722eff30e6b74cf /proto
parent973399ae2c21b41983a35fe71657fb41351d99e6 (diff)
downloadbird-76915ec9798a2c067ef05c6fb94cea58af12128e.tar
bird-76915ec9798a2c067ef05c6fb94cea58af12128e.zip
Minor changes.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/lsreq.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c
index 954ad7b..5aa59f5 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);