summaryrefslogtreecommitdiff
path: root/proto/ospf/lsreq.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-08 23:46:31 +0000
committerOndrej Filip <feela@network.cz>2000-05-08 23:46:31 +0000
commit43e75f38e7b8716efb3729ee56fd4a879e03c1dc (patch)
tree52046a7c07f8d19b278ddf0393c819c6863e8808 /proto/ospf/lsreq.c
parented4a53c6a5685d04fe2b0cceda83860324f4892c (diff)
Do not stop lsrr_timer in FULL state. Use it for retransmition.
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 3a682120..580fd1db 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