mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
Bug in DBDES receiving fixed.
This commit is contained in:
parent
502ded5215
commit
caeb02ea19
@ -209,7 +209,6 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p,
|
||||
{
|
||||
u32 nrid, myrid;
|
||||
struct ospf_neighbor *n;
|
||||
u8 i;
|
||||
|
||||
nrid=ntohl(((struct ospf_packet *)ps)->routerid);
|
||||
|
||||
@ -356,7 +355,7 @@ ospf_dbdes_rx(struct ospf_dbdes_packet *ps, struct proto *p,
|
||||
case NEIGHBOR_LOADING:
|
||||
case NEIGHBOR_FULL:
|
||||
if((ps->imms.byte==n->imms.byte) && (ps->options==n->options) &&
|
||||
(ps->ddseq==n->dds)) /* Only duplicate are accepted */
|
||||
(ntohl(ps->ddseq)==n->ddr)) /* Only duplicate are accepted */
|
||||
{
|
||||
OSPF_TRACE(D_PACKETS, "Received duplicate dbdes from %I.",n->ip);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user