]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Bug in direct ack (via update).
authorOndrej Filip <feela@network.cz>
Tue, 30 May 2000 15:05:47 +0000 (15:05 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 30 May 2000 15:05:47 +0000 (15:05 +0000)
proto/ospf/lsupd.c

index 984f96efa3779a55f3f82c25fac96880d3e2b794..891ca46772a46100047ae855b1f4460969a87b42 100644 (file)
@@ -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);
     }
   }