From 45f02d94b2c06599fa0d0ab75b7c5cf485ffc2a8 Mon Sep 17 00:00:00 2001 From: Paul Dee Date: Wed, 19 Oct 2022 18:02:33 +0200 Subject: luci-app-dhcp: 'addresses' helptext improvement with info from manpage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Placeholder hint also reflects syntax. Signed-off-by: Paul Dee [replace asdf.com with example.com, use … instead of ..., remove uneeded   entities] Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/network/dhcp.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/luci-mod-network/htdocs') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 44f3346595..e193111c48 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -289,9 +289,12 @@ return view.extend({ o = s.taboption('general', form.DynamicList, 'address', _('Addresses'), - _('List of domains to force to an IP address.')); + _('Resolve specified FQDNs to an IP.') + '
' + + _('Syntax: /fqdn[/fqdn…]/[ipaddr].') + '
' + + _('/#/ matches any domain. /example.com/ returns NXDOMAIN.') + '
' + + _('/example.com/# returns NULL addresses (0.0.0.0 and ::) for example.com and its subdomains.')); o.optional = true; - o.placeholder = '/router.local/192.168.0.1'; + o.placeholder = '/router.local/router.lan/192.168.0.1'; o = s.taboption('general', form.DynamicList, 'ipset', _('IP sets'), -- cgit v1.2.3