ComboAddress ca;
for(const auto& r : records) {
- if(r.d_place != DNSResourceRecord::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 = DNSResourceRecord::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 = DNSResourceRecord::Answer;
+ spoofed.d_place = DNSResourceRecord::ANSWER;
ret.push_back(spoofed);
goto haveAnswer;
}