From bc7247446d2d28b7fa22c52df60cf435f87048fa Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Sat, 17 Aug 2019 20:17:15 +0200 Subject: [PATCH] Fix dhcp interface --- .../htdocs/luci-static/resources/view/network/dhcp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 9c7caa434..c77b34878 100644 --- a/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -366,7 +366,7 @@ return L.view.extend({ so.value(hosts[mac].ipv4); }); - so = ss.options(form.value, 'gw', _('Gateway IPv4 Address')); + so = ss.option(form.value, 'gw', _('Gateway IPv4 Address')); so.rmempty = true; so.datatype = 'or(ip4addr,"ignore")'; Object.keys(hosts).forEach(function(mac) {