From dcd628444aa9daac63f506ae09d856e84bd0153c Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 19 Jan 2018 10:58:34 +0100 Subject: [PATCH] ixfrdist: fix AXFR fallback --- pdns/ixfrdist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/ixfrdist.cc b/pdns/ixfrdist.cc index f737dadba..7dddc8c57 100644 --- a/pdns/ixfrdist.cc +++ b/pdns/ixfrdist.cc @@ -292,7 +292,7 @@ bool makeAXFRPacket(const MOADNSParser& mdp, vector& packet) { /* Produces an IXFR packet and if one can not be made, an AXFR packet in `packet` */ -bool makeIXFRPacket(const MOADNSParser& mdp, const shared_ptr& clientSOA, vector packet) { +bool makeIXFRPacket(const MOADNSParser& mdp, const shared_ptr& clientSOA, vector& packet) { string dir = g_workdir + "/" + mdp.d_qname.toString(); // Let's see if we have the old zone -- 2.40.0