]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2281] Pass a null config to ZoneTableSegment::create() for now
authorMukund Sivaraman <muks@isc.org>
Tue, 12 Feb 2013 04:33:48 +0000 (10:03 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 12 Feb 2013 04:34:34 +0000 (10:04 +0530)
src/lib/datasrc/static_datasrc_link.cc

index f9067cdc78a0a2a37731e7512fab7810d06d76e8..1b767a4f65009715bc1b787f217a17f28726a1bd 100644 (file)
@@ -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()));