summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/LookupServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.cpp')
-rw-r--r--Userland/Services/LookupServer/LookupServer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.cpp b/Userland/Services/LookupServer/LookupServer.cpp
index 635a9ce490..9f946c4fc7 100644
--- a/Userland/Services/LookupServer/LookupServer.cpp
+++ b/Userland/Services/LookupServer/LookupServer.cpp
@@ -118,9 +118,9 @@ void LookupServer::load_etc_hosts()
add_answer(name, RecordType::A, DeprecatedString { (char const*)&raw_addr, sizeof(raw_addr) });
StringBuilder builder;
- builder.append(maybe_address->to_string_reversed());
+ builder.append(maybe_address->to_deprecated_string_reversed());
builder.append(".in-addr.arpa"sv);
- add_answer(builder.to_string(), RecordType::PTR, name.as_string());
+ add_answer(builder.to_deprecated_string(), RecordType::PTR, name.as_string());
}
}