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/dbdes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/dbdes.h') diff --git a/proto/ospf/dbdes.h b/proto/ospf/dbdes.h index c5ffe590..af962928 100644 --- a/proto/ospf/dbdes.h +++ b/proto/ospf/dbdes.h @@ -10,7 +10,7 @@ #ifndef _BIRD_OSPF_DBDES_H_ #define _BIRD_OSPF_DBDES_H_ -void ospf_dbdes_send(struct ospf_neighbor *n); +void ospf_dbdes_send(struct ospf_neighbor *n, int next); void ospf_dbdes_receive(struct ospf_dbdes_packet *ps, struct ospf_iface *ifa, struct ospf_neighbor *n); -- cgit v1.2.3