luci-mod-network: simplify multi-MAC help text
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 06:36:17 +0000 (08:36 +0200)
committerPaul Donald <[email protected]>
Fri, 24 Oct 2025 18:23:34 +0000 (20:23 +0200)
Simplify the help text a bit, make it more consistent, capitalize "MAC", remove
references to dnsmasq.

Signed-off-by: David Härdeman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index af23fa2433f9fe883a2ec643de6ade9d7b362b54..5d97ff1838285fa9adbe9f8b7b93046e9d506155 100644 (file)
@@ -751,9 +751,10 @@ return view.extend({
                };
 
                so = ss.option(form.DynamicList, 'mac',
-                       _('MAC address(es)'),
-                       _('The hardware address(es) of this entry/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.'));
+                       _('MAC Addresses'),
+                       _('The hardware address(es) of this host.') + '<br /><br />' +
+                       _('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.cfgvalue = function(section) {
                        var macs = uci.get('dhcp', section, 'mac');