fix: dns search domains

fixes bug where dns search domains were part of config, but now viewable on config screen

closes #362
This commit is contained in:
Zane Schepke 2024-10-13 23:15:00 -04:00
parent 7fdd95ea51
commit 7ca23d3ef5
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ data class InterfaceProxy(
publicKey = i.keyPair.publicKey.toBase64().trim(),
privateKey = i.keyPair.privateKey.toBase64().trim(),
addresses = i.addresses.joinToString(", ").trim(),
dnsServers = i.dnsServers.joinToString(", ").replace("/", "").trim(),
dnsServers = (i.dnsServers + i.dnsSearchDomains).joinToString(", ").replace("/", "").trim() ,
listenPort =
if (i.listenPort.isPresent) {
i.listenPort.get().toString().trim()