1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Fix dhcp interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-08-17 20:17:15 +02:00
parent 41c021661b
commit bc7247446d

View file

@ -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) {