diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-05-15 10:46:07 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-05-15 10:46:07 +0000 |
commit | cf1ce250d20003ae94c835e73e95e7442d7a5b53 (patch) | |
tree | 713c0ed34cf2def64257b6906ebd861766a9882c /ospf6d/ospf6_message.c | |
parent | 932bf1976ae4c84a43b92b2ba8ca798828896249 (diff) | |
download | quagga-cf1ce250d20003ae94c835e73e95e7442d7a5b53.tar.bz2 quagga-cf1ce250d20003ae94c835e73e95e7442d7a5b53.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; |