reportOtherTypes();
}
+ComboAddress getAddr(const DNSRecord& dr, uint16_t defport)
+{
+ if(auto addr=getRR<ARecordContent>(dr)) {
+ return addr->getCA(defport);
+ }
+ else
+ return getRR<AAAARecordContent>(dr)->getCA(defport);
+}
+
+
#if 0
static struct Reporter
{
return aOrder < bOrder;
}
-static ComboAddress getAddr(const DNSRecord& dr)
-{
- if(auto addr=getRR<ARecordContent>(dr)) {
- return addr->getCA();
- }
- else
- return getRR<AAAARecordContent>(dr)->getCA();
-}
bool SortListOrderCmp::operator()(const DNSRecord& ar, const DNSRecord& br) const
{
if(ar.d_type < br.d_type)