ComboAddress ca;
for(const auto& r : records) {
- if(r.d_place != DNSRecord::Answer)
+ if(r.d_place != DNSResourceRecord::Answer)
continue;
if(r.d_type == QType::A)
ca = std::dynamic_pointer_cast<ARecordContent>(r.d_content)->getCA();
spoofed.d_ttl = 1234;
spoofed.d_class = 1;
spoofed.d_content = dfepol.d_custom;
- spoofed.d_place = DNSRecord::Answer;
+ spoofed.d_place = DNSResourceRecord::Answer;
ret.push_back(spoofed);
goto haveAnswer;
spoofed.d_ttl = 1234;
spoofed.d_class = 1;
spoofed.d_content = dfepol.d_custom;
- spoofed.d_place = DNSRecord::Answer;
+ spoofed.d_place = DNSResourceRecord::Answer;
ret.push_back(spoofed);
goto haveAnswer;
}