From 3f539a161503f85adc00687c2b15c584ce2bcd5a Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 6 Oct 2025 19:26:51 +0200 Subject: [PATCH] improve interface view: show correct DNS entries --- frontend/src/lang/translations/de.json | 1 + frontend/src/lang/translations/en.json | 1 + frontend/src/views/InterfaceView.vue | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/lang/translations/de.json b/frontend/src/lang/translations/de.json index e59af3e..5728ed3 100644 --- a/frontend/src/lang/translations/de.json +++ b/frontend/src/lang/translations/de.json @@ -117,6 +117,7 @@ "dns": "DNS-Server", "mtu": "MTU", "default-keep-alive": "Standard Keepalive-Intervall", + "default-dns": "Standard DNS-Server", "button-show-config": "Konfiguration anzeigen", "button-download-config": "Konfiguration herunterladen", "button-store-config": "Konfiguration für wg-quick speichern", diff --git a/frontend/src/lang/translations/en.json b/frontend/src/lang/translations/en.json index a1f98e5..9edeee6 100644 --- a/frontend/src/lang/translations/en.json +++ b/frontend/src/lang/translations/en.json @@ -117,6 +117,7 @@ "dns": "DNS Servers", "mtu": "MTU", "default-keep-alive": "Default Keepalive Interval", + "default-dns": "Default DNS Servers", "button-show-config": "Show configuration", "button-download-config": "Download configuration", "button-store-config": "Store configuration for wg-quick", diff --git a/frontend/src/views/InterfaceView.vue b/frontend/src/views/InterfaceView.vue index ecd253e..d726e3e 100644 --- a/frontend/src/views/InterfaceView.vue +++ b/frontend/src/views/InterfaceView.vue @@ -217,14 +217,14 @@ onMounted(async () => { {{ $t('interfaces.interface.ip') }}: {{addr}} - - {{ $t('interfaces.interface.dns') }}: - {{addr}} - {{ $t('interfaces.interface.mtu') }}: {{interfaces.GetSelected.Mtu}} + + {{ $t('interfaces.interface.default-dns') }}: + {{addr}} + {{ $t('interfaces.interface.default-keep-alive') }}: {{interfaces.GetSelected.PeerDefPersistentKeepalive}}