mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-mod-network: simplify multi-MAC help text
Simplify the help text a bit, make it more consistent, capitalize "MAC", remove references to dnsmasq. Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
committed by
Paul Donald
parent
6b92594605
commit
46daebe715
@@ -751,9 +751,10 @@ return view.extend({
|
|||||||
};
|
};
|
||||||
|
|
||||||
so = ss.option(form.DynamicList, 'mac',
|
so = ss.option(form.DynamicList, 'mac',
|
||||||
_('MAC address(es)'),
|
_('MAC Addresses'),
|
||||||
_('The hardware address(es) of this entry/host.') + '<br /><br />' +
|
_('The hardware address(es) of this host.') + '<br /><br />' +
|
||||||
_('In DHCPv4, it is possible to include more than one mac address. This allows an IP address to be associated with multiple macaddrs, and dnsmasq abandons a DHCP lease to one of the macaddrs when another asks for a lease. It only works reliably if only one of the macaddrs is active at any time.'));
|
_('The same IPv4 address will be (re)assigned to <em>any</em> host using one of the MAC addresses listed above.') + '<br />' +
|
||||||
|
_('Only one of the MAC addresses is expected to be in active use on the network at any given time.'));
|
||||||
so.rmempty = true;
|
so.rmempty = true;
|
||||||
so.cfgvalue = function(section) {
|
so.cfgvalue = function(section) {
|
||||||
var macs = uci.get('dhcp', section, 'mac');
|
var macs = uci.get('dhcp', section, 'mac');
|
||||||
|
|||||||
Reference in New Issue
Block a user