Browse Source

[2281] Pass a null config to ZoneTableSegment::create() for now

Mukund Sivaraman 12 years ago
parent
commit
d404649f95
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/lib/datasrc/static_datasrc_link.cc

+ 5 - 1
src/lib/datasrc/static_datasrc_link.cc

@@ -34,8 +34,12 @@ namespace datasrc {
 DataSourceClient*
 createInstance(ConstElementPtr config, string& error) {
     try {
+        // FIXME: Fix the config that should be passed to
+        // ZoneTableSegment::create() when it actually uses the config
+        // to do something.
         shared_ptr<memory::ZoneTableSegment> ztable_segment(
-            memory::ZoneTableSegment::create(*config, RRClass::CH()));
+            memory::ZoneTableSegment::create(isc::data::NullElement(),
+                                             RRClass::CH()));
         // Create the data source
         auto_ptr<memory::InMemoryClient> client
             (new memory::InMemoryClient(ztable_segment, RRClass::CH()));