diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 19:38:16 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 19:38:16 +0000 |
commit | a3ae6246c29ecceefc1e867c7b5f73a5b3c857c9 (patch) | |
tree | f2b5e3a75406a438c4d7e0e00ba68e1757ecdbcf /proto/ospf/lsupd.c | |
parent | b224ca32cfb5268db4984b5a640ab8a73852059b (diff) |
Bugfix in lsrt slist adding.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 608db878..b6037419 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -78,6 +78,7 @@ flood_lsa(struct ospf_neighbor *n, struct ospf_lsa_header *hn, s_rem_node(SNODE en); } s_add_tail(&nn->lsrtl, SNODE en); + memcpy(&en->lsa,hh,sizeof(struct ospf_lsa_header)); ret=1; DBG("Adding LSA lsrt RT: %I, Id: %I, Type: %u for n: %I\n", en->lsa.rt,en->lsa.id, en->lsa.type, nn->ip); |