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

Really fix dhcp menu

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-12-02 20:31:04 +01:00
parent 88dcdd748b
commit dd48923a0b

View file

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