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_abr.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_abr.c')
-rw-r--r-- | ospf6d/ospf6_abr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c index 833a1bc9..180a2048 100644 --- a/ospf6d/ospf6_abr.c +++ b/ospf6d/ospf6_abr.c @@ -538,6 +538,8 @@ ospf6_abr_examin_summary (struct ospf6_lsa *lsa, struct ospf6_area *oa) char buf[64]; int is_debug = 0; + memset (&prefix, 0, sizeof (prefix)); + if (lsa->header->type == htons (OSPF6_LSTYPE_INTER_PREFIX)) { struct ospf6_inter_prefix_lsa *prefix_lsa; @@ -593,7 +595,8 @@ ospf6_abr_examin_summary (struct ospf6_lsa *lsa, struct ospf6_area *oa) if (route->path.area_id == oa->area_id && route->path.origin.type == lsa->header->type && route->path.origin.id == lsa->header->id && - route->path.origin.adv_router == lsa->header->adv_router) + route->path.origin.adv_router == lsa->header->adv_router && + ! CHECK_FLAG (route->flag, OSPF6_ROUTE_WAS_REMOVED)) old = route; route = ospf6_route_next (route); } |