summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/LookupServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.h')
-rw-r--r--Userland/Services/LookupServer/LookupServer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.h b/Userland/Services/LookupServer/LookupServer.h
index c948f2aa07..2e42d5e290 100644
--- a/Userland/Services/LookupServer/LookupServer.h
+++ b/Userland/Services/LookupServer/LookupServer.h
@@ -10,6 +10,7 @@
#include "DNSPacket.h"
#include "DNSServer.h"
#include "MulticastDNS.h"
+#include <LibCore/FileWatcher.h>
#include <LibCore/Object.h>
namespace LookupServer {
@@ -35,6 +36,7 @@ private:
RefPtr<DNSServer> m_dns_server;
RefPtr<MulticastDNS> m_mdns;
Vector<String> m_nameservers;
+ RefPtr<Core::FileWatcher> m_file_watcher;
HashMap<DNSName, Vector<DNSAnswer>, DNSName::Traits> m_etc_hosts;
HashMap<DNSName, Vector<DNSAnswer>, DNSName::Traits> m_lookup_cache;
};