From: Pieter Lexis Date: Fri, 19 Jan 2018 09:58:34 +0000 (+0100) Subject: ixfrdist: fix AXFR fallback X-Git-Tag: dnsdist-1.3.0~111^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dcd628444aa9daac63f506ae09d856e84bd0153c;p=pdns ixfrdist: fix AXFR fallback --- 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