From: Jelte Jansen Date: Mon, 10 Oct 2011 13:18:12 +0000 (+0200) Subject: [master] update xfrin to last API change X-Git-Tag: perftcpdns_before_epoll~37^2~17^2^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32007ad7c992f395895eb8f27343003cf4f94a20;p=thirdparty%2Fkea.git [master] update xfrin to last API change --- diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in index dd755918db..0effc4040a 100755 --- a/src/bin/xfrin/xfrin.py.in +++ b/src/bin/xfrin/xfrin.py.in @@ -792,7 +792,12 @@ def process_xfrin(server, xfrin_recorder, zone_name, rrclass, db_file, # this code will be much cleaner. datasrc_client = None if db_file is not None: - datasrc_client = DataSourceClient(db_file) + # temporary hardcoded sqlite initialization. Once we decide on + # the config specification, we need to update this (TODO) + # this may depend on #1207, or any followup ticket created for #1207 + datasrc_type = "sqlite3" + datasrc_config = "{ \"database_file\": \"" + db_file + "\"}" + datasrc_client = DataSourceClient(datasrc_type, datasrc_config) # Create a TCP connection for the XFR session and perform the operation. sock_map = {}