Commit b8f67d20 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[master] use the updated API from #1384 in xfrout

parent 46bd9a8e
...@@ -316,11 +316,11 @@ class XfroutSession(): ...@@ -316,11 +316,11 @@ class XfroutSession():
self._server.get_db_file() + '"}' self._server.get_db_file() + '"}'
self._datasrc_client = self.ClientClass('sqlite3', datasrc_config) self._datasrc_client = self.ClientClass('sqlite3', datasrc_config)
try: try:
# Note that we disable 'adjust_ttl'. In xfr-out we need to # Note that we enable 'separate_rrs'. In xfr-out we need to
# preserve as many things as possible (even if it's half broken) # preserve as many things as possible (even if it's half broken)
# stored in the zone. # stored in the zone.
self._iterator = self._datasrc_client.get_iterator(zone_name, self._iterator = self._datasrc_client.get_iterator(zone_name,
False) True)
except isc.datasrc.Error: except isc.datasrc.Error:
# If the current name server does not have authority for the # If the current name server does not have authority for the
# zone, xfrout can't serve for it, return rcode NOTAUTH. # zone, xfrout can't serve for it, return rcode NOTAUTH.
......
Markdown is supported
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