]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add #ifdef DLZ
authorMark Andrews <marka@isc.org>
Mon, 29 Apr 2013 06:50:15 +0000 (16:50 +1000)
committerMark Andrews <marka@isc.org>
Mon, 29 Apr 2013 06:50:50 +0000 (16:50 +1000)
bin/named/xfrout.c

index 06e8ab9010e8d80ae42fc5fb6126345eaefebc15..f99b7d65d1b1165394e161879f4dff814fc9cb32 100644 (file)
@@ -986,7 +986,11 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
                        is_poll = ISC_TRUE;
                        goto have_stream;
                }
+#ifdef DLZ
                journalfile = is_dlz ? NULL : dns_zone_getjournal(zone);
+#else
+               journalfile = dns_zone_getjournal(zone);
+#endif
                if (journalfile != NULL)
                        result = ixfr_rrstream_create(mctx,
                                                      journalfile,