From b722fe7ebdf7e11f097ed0a85302769de2ac10fb Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 6 Apr 2009 16:53:06 +0200 Subject: Fixes bug in OSPF packet retransmission. If a DBDES packet from a master to a slave is lost, then the old code does not retransmit it and instead send a next one with the same sequence number. That leads to silent desynchronization of LSA databases. --- proto/ospf/neighbor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/neighbor.c') diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index d417ed0..6e72764 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -643,12 +643,12 @@ rxmt_timer_hook(timer * timer) if (n->state == NEIGHBOR_EXSTART) { - ospf_dbdes_send(n); + ospf_dbdes_send(n, 1); return; } if ((n->state == NEIGHBOR_EXCHANGE) && n->myimms.bit.ms) /* I'm master */ - ospf_dbdes_send(n); + ospf_dbdes_send(n, 0); if (n->state < NEIGHBOR_FULL) -- cgit v1.2.3