summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/lsreq.c')
-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 3a68212..580fd1d 100644
--- a/proto/ospf/lsreq.c
+++ b/proto/ospf/lsreq.c
@@ -69,7 +69,11 @@ lsrr_timer_hook(timer *timer)
p=(struct proto *)(ifa->proto);
debug("%s: LSRR timer fired on interface %s for neigh: %I.\n",
p->name, ifa->iface->name, n->rid);
- ospf_lsreq_tx(n);
+ if(n->state<NEIGHBOR_FULL) ospf_lsreq_tx(n);
+ else
+ {
+ int i; /* FIXME Retransmit lsupd again */
+ }
}
void