From: Christian Hofstaedtler Date: Tue, 17 Mar 2015 23:03:32 +0000 (+0100) Subject: Test fix: actually update serial in rfc2136handler X-Git-Tag: auth-3.4.4~2^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2438%2Fhead;p=thirdparty%2Fpdns.git Test fix: actually update serial in rfc2136handler (cherry picked from commit effecfa731fb4315419aa312d148117935d38517) --- diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index 773472ddf5..ddba23e98a 100644 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -965,7 +965,7 @@ void PacketHandler::increaseSerial(const string &msgPrefix, const DomainInfo *di } } - calculateIncreaseSOA(soa2Update, soaEdit2136, soaEdit); + soa2Update.serial = calculateIncreaseSOA(soa2Update, soaEdit2136, soaEdit); newRec.content = serializeSOAData(soa2Update); vector rrset;