1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix DHCP menu

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-12-02 16:59:09 +01:00
parent c0503fcc06
commit 7f7feb0c91

View file

@ -519,7 +519,7 @@ return view.extend({
so.value(ipv4, ipaddrs[ipv4] ? '%s (%s)'.format(ipv4, ipaddrs[ipv4]) : 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) {