diff options
author | paul <paul> | 2006-05-15 10:46:07 +0000 |
---|---|---|
committer | paul <paul> | 2006-05-15 10:46:07 +0000 |
commit | 28be1fbcda95b306d6868306094659b9af8ecb2c (patch) | |
tree | 3904f48e19c4855254af1f7b572ece34607e3755 /ospf6d/ospf6_message.c | |
parent | b0b41b9c24e0ede27e2afee02a16ce7c5287b72e (diff) | |
download | quagga-28be1fbcda95b306d6868306094659b9af8ecb2c.tar.bz2 quagga-28be1fbcda95b306d6868306094659b9af8ecb2c.tar.xz |
[ospf6d] GNU Zebra #3562: ABR Crash fix, memory fixes, route table debugs
2006-02-22 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
* valgrind check and memory fix
* route table identification string added
* ospf6d.h: version 0.9.7q
Diffstat (limited to 'ospf6d/ospf6_message.c')
-rw-r--r-- | ospf6d/ospf6_message.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index fbda675e..6ece88b8 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c @@ -1120,10 +1120,9 @@ ospf6_lsack_recv (struct in6_addr *src, struct in6_addr *dst, on->name); ospf6_decrement_retrans_count (mine); - ospf6_lsdb_remove (mine, on->retrans_list); if (OSPF6_LSA_IS_MAXAGE (mine)) ospf6_maxage_remove (on->ospf6_if->area->ospf6); - + ospf6_lsdb_remove (mine, on->retrans_list); ospf6_lsa_delete (his); } @@ -1186,6 +1185,9 @@ ospf6_receive (struct thread *thread) thread_add_read (master, ospf6_receive, NULL, sockfd); /* initialize */ + memset (&src, 0, sizeof (src)); + memset (&dst, 0, sizeof (dst)); + ifindex = 0; memset (recvbuf, 0, iobuflen); iovector[0].iov_base = recvbuf; iovector[0].iov_len = iobuflen; |