From 76915ec9798a2c067ef05c6fb94cea58af12128e Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Thu, 30 Mar 2000 19:21:17 +0000 Subject: [PATCH] Minor changes. --- proto/ospf/lsreq.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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);