diff --git a/llarp/dns/server.hpp b/llarp/dns/server.hpp index 25ca58aaa..446e00852 100644 --- a/llarp/dns/server.hpp +++ b/llarp/dns/server.hpp @@ -15,6 +15,8 @@ namespace llarp /// handler of dns query hooking struct IQueryHandler { + virtual ~IQueryHandler() = 0; + /// return true if we should hook this message virtual bool ShouldHookDNSMessage(const Message& msg) const = 0;