summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsreq.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 01:46:31 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 01:46:31 +0200
commit43e75f38e7b8716efb3729ee56fd4a879e03c1dc (patch)
tree52046a7c07f8d19b278ddf0393c819c6863e8808 /proto/ospf/lsreq.c
parented4a53c6a5685d04fe2b0cceda83860324f4892c (diff)
downloadbird-43e75f38e7b8716efb3729ee56fd4a879e03c1dc.tar
bird-43e75f38e7b8716efb3729ee56fd4a879e03c1dc.zip
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 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