Commit 32007ad7 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] update xfrin to last API change

parent d903fe92
......@@ -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 = {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment