From: Remi Gacogne Date: Mon, 17 Dec 2018 14:45:25 +0000 (+0100) Subject: Remove unused WKSRecordContent class X-Git-Tag: rec-4.2.0-alpha1~54^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1d7f53156b6bc67a725475589d7220bccdd2c31;p=pdns Remove unused WKSRecordContent class --- diff --git a/pdns/dnsrecords.hh b/pdns/dnsrecords.hh index 1d46aa08e..67d77f34f 100644 --- a/pdns/dnsrecords.hh +++ b/pdns/dnsrecords.hh @@ -720,25 +720,6 @@ public: private: }; - -class WKSRecordContent : public DNSRecordContent -{ -public: - static void report(void); - WKSRecordContent() - {} - WKSRecordContent(const string& content, const string& zone=""); // FIXME400: DNSName& zone? - - static std::shared_ptr make(const DNSRecord &dr, PacketReader& pr); - static std::shared_ptr make(const string& content); - string getZoneRepresentation(bool noDot=false) const override; - void toPacket(DNSPacketWriter& pw) override; - - uint32_t d_ip{0}; - std::bitset<65535> d_services; -private: -}; - class EUI48RecordContent : public DNSRecordContent { public: