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_top.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_top.c')
-rw-r--r-- | ospf6d/ospf6_top.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index 66b1a121..a5efcb8d 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -126,15 +126,19 @@ ospf6_create () o->lsdb->hook_add = ospf6_top_lsdb_hook_add; o->lsdb->hook_remove = ospf6_top_lsdb_hook_remove; - o->route_table = ospf6_route_table_create (); + o->route_table = OSPF6_ROUTE_TABLE_CREATE (GLOBAL, ROUTES); + o->route_table->scope = o; o->route_table->hook_add = ospf6_top_route_hook_add; o->route_table->hook_remove = ospf6_top_route_hook_remove; - o->brouter_table = ospf6_route_table_create (); + o->brouter_table = OSPF6_ROUTE_TABLE_CREATE (GLOBAL, BORDER_ROUTERS); + o->brouter_table->scope = o; o->brouter_table->hook_add = ospf6_top_brouter_hook_add; o->brouter_table->hook_remove = ospf6_top_brouter_hook_remove; - o->external_table = ospf6_route_table_create (); + o->external_table = OSPF6_ROUTE_TABLE_CREATE (GLOBAL, EXTERNAL_ROUTES); + o->external_table->scope = o; + o->external_id_table = route_table_init (); return o; |