summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-wireguard/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-wireguard/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
index 1180b202e5..2126403de6 100644
--- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
+++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js
@@ -730,8 +730,8 @@ return network.registerProtocol('wireguard', {
var hostnames = [];
uci.sections('ddns', 'service', function(s) {
- if (typeof(s.domain) == 'string' && s.enabled == '1')
- hostnames.push(s.domain);
+ if (typeof(s.lookup_host) == 'string' && s.enabled == '1')
+ hostnames.push(s.lookup_host);
});
uci.sections('system', 'system', function(s) {