From: Mukund Sivaraman Date: Tue, 12 Feb 2013 04:33:48 +0000 (+0530) Subject: [2281] Pass a null config to ZoneTableSegment::create() for now X-Git-Tag: bind10-1.1.0beta1-release~102^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d404649f95abf23268f91c31b30d52b06e5a3df3;p=thirdparty%2Fkea.git [2281] Pass a null config to ZoneTableSegment::create() for now --- diff --git a/src/lib/datasrc/static_datasrc_link.cc b/src/lib/datasrc/static_datasrc_link.cc index f9067cdc78..1b767a4f65 100644 --- a/src/lib/datasrc/static_datasrc_link.cc +++ b/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 ztable_segment( - memory::ZoneTableSegment::create(*config, RRClass::CH())); + memory::ZoneTableSegment::create(isc::data::NullElement(), + RRClass::CH())); // Create the data source auto_ptr client (new memory::InMemoryClient(ztable_segment, RRClass::CH()));