summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-30 17:05:47 +0200
committerOndrej Filip <feela@network.cz>2000-05-30 17:05:47 +0200
commita548a7e167d50587aac4549d32924c95dc329e99 (patch)
treecad7e49e8163c1864fd9b7aa601f3935fc846bae /proto/ospf/lsupd.c
parent4513280611d6c4e3409bf75139a9bd844843d462 (diff)
downloadbird-a548a7e167d50587aac4549d32924c95dc329e99.tar
bird-a548a7e167d50587aac4549d32924c95dc329e99.zip
Bug in direct ack (via update).
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 984f96e..891ca46 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -425,10 +425,12 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
{
list l;
- struct l_lsr_head llsh;
+ struct l_lsr_head ll;
init_list(&l);
- memcpy(&llsh.lsh,&lsadb->lsa,sizeof(struct ospf_lsa_header));
- add_tail(&l, NODE &llsh);
+ ll.lsh.id=lsadb->lsa.id;
+ ll.lsh.rt=lsadb->lsa.rt;
+ ll.lsh.type=lsadb->lsa.type;
+ add_tail(&l, NODE &ll);
ospf_lsupd_tx_list(n, &l);
}
}