DP->sendPacket(p);
}
if(LPE) {
- int policyres=LPE->police(p, ret);
+ policyres = LPE->police(p, ret);
if(policyres == PolicyDecision::DROP) {
delete ret;
return NULL;
memset(&st, 0, sizeof(st));
st.serial=di.serial;
- DNSRecord dr;
- dr.d_content = std::make_shared<SOARecordContent>(g_rootdnsname, g_rootdnsname, st);
- auto deltas = getIXFRDeltas(remote, domain, dr, tt, laddr.sin4.sin_family ? &laddr : 0, ((size_t) ::arg().asNum("xfr-max-received-mbytes")) * 1024 * 1024);
+ DNSRecord drsoa;
+ drsoa.d_content = std::make_shared<SOARecordContent>(g_rootdnsname, g_rootdnsname, st);
+ auto deltas = getIXFRDeltas(remote, domain, drsoa, tt, laddr.sin4.sin_family ? &laddr : 0, ((size_t) ::arg().asNum("xfr-max-received-mbytes")) * 1024 * 1024);
zs.numDeltas=deltas.size();
// cout<<"Got "<<deltas.size()<<" deltas from serial "<<di.serial<<", applying.."<<endl;