diff options
author | Tom <tomut@yahoo.com> | 2022-04-12 23:25:07 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-15 16:34:26 +0100 |
commit | be4a4144f289bafbaf81a506138f5a53ffc97ae0 (patch) | |
tree | 9baca0b54c604df6d72979de1d443a7135e84b42 /Userland/Services/LookupServer/DNSServer.cpp | |
parent | 0a92dbd390a0f228902675700df7cbd9fdd507de (diff) | |
download | serenity-be4a4144f289bafbaf81a506138f5a53ffc97ae0.zip |
LookupServer: Move DNS related code into new LibDNS library
This allows other code to use the DNSPacket class, e.g. when sent
over IPC.
Diffstat (limited to 'Userland/Services/LookupServer/DNSServer.cpp')
-rw-r--r-- | Userland/Services/LookupServer/DNSServer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Services/LookupServer/DNSServer.cpp b/Userland/Services/LookupServer/DNSServer.cpp index 7d3846f0d0..c01772fa56 100644 --- a/Userland/Services/LookupServer/DNSServer.cpp +++ b/Userland/Services/LookupServer/DNSServer.cpp @@ -5,12 +5,14 @@ */ #include "DNSServer.h" -#include "DNSPacket.h" #include "LookupServer.h" #include <AK/IPv4Address.h> +#include <LibDNS/DNSPacket.h> namespace LookupServer { +using namespace DNS; + DNSServer::DNSServer(Object* parent) : Core::UDPServer(parent) { |