diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-04-06 16:53:06 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-04-06 16:53:06 +0200 |
commit | b722fe7ebdf7e11f097ed0a85302769de2ac10fb (patch) | |
tree | e62efe0d3749bcc447981772eb71ba8c107b67c7 /proto/ospf/dbdes.h | |
parent | 8298d780be5a5b00c31c10a37a5f3a1353d6e234 (diff) |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |