Bug in direct ack (via update).
This commit is contained in:
parent
4513280611
commit
a548a7e167
1 changed files with 5 additions and 3 deletions
|
@ -425,10 +425,12 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
|
||||||
|
|
||||||
{
|
{
|
||||||
list l;
|
list l;
|
||||||
struct l_lsr_head llsh;
|
struct l_lsr_head ll;
|
||||||
init_list(&l);
|
init_list(&l);
|
||||||
memcpy(&llsh.lsh,&lsadb->lsa,sizeof(struct ospf_lsa_header));
|
ll.lsh.id=lsadb->lsa.id;
|
||||||
add_tail(&l, NODE &llsh);
|
ll.lsh.rt=lsadb->lsa.rt;
|
||||||
|
ll.lsh.type=lsadb->lsa.type;
|
||||||
|
add_tail(&l, NODE &ll);
|
||||||
ospf_lsupd_tx_list(n, &l);
|
ospf_lsupd_tx_list(n, &l);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue