summaryrefslogtreecommitdiffstats
path: root/proto/ospf/dbdes.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-04-06 16:53:06 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-04-06 16:53:06 +0200
commitb722fe7ebdf7e11f097ed0a85302769de2ac10fb (patch)
treee62efe0d3749bcc447981772eb71ba8c107b67c7 /proto/ospf/dbdes.h
parent8298d780be5a5b00c31c10a37a5f3a1353d6e234 (diff)
downloadbird-b722fe7ebdf7e11f097ed0a85302769de2ac10fb.tar
bird-b722fe7ebdf7e11f097ed0a85302769de2ac10fb.zip
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.
Diffstat (limited to 'proto/ospf/dbdes.h')
-rw-r--r--proto/ospf/dbdes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/dbdes.h b/proto/ospf/dbdes.h
index c5ffe59..af96292 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);