Browse Source

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

Jelte Jansen 13 years ago
parent
commit
b8f67d200e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/xfrout/xfrout.py.in

+ 2 - 2
src/bin/xfrout/xfrout.py.in

@@ -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.