luci-mod-network: Extend helptext for RFC1918 rebind_protection 6712/head
authorPaul Donald <newtwen@gmail.com>
Mon, 20 Nov 2023 17:39:41 +0000 (18:39 +0100)
committerPaul Donald <newtwen@gmail.com>
Wed, 22 Nov 2023 04:27:51 +0000 (05:27 +0100)
Signed-off-by: Paul Donald <newtwen@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 04b57a277de68f7f835f9cef60a15c288cb61dba..fc96576f2d94aa8c4d7565f33e9274e75d33ec45 100644 (file)
@@ -310,7 +310,8 @@ return view.extend({
 
                o = s.taboption('general', form.Flag, 'rebind_protection',
                        _('Rebind protection'),
-                       _('Discard upstream responses containing <a href="%s">RFC1918</a> addresses.').format('https://datatracker.ietf.org/doc/html/rfc1918'));
+                       _('Discard upstream responses containing <a href="%s">RFC1918</a> addresses.').format('https://www.rfc-editor.org/rfc/rfc1918') + '<br />' +
+                       _('Discard also upstream responses containing <a href="%s">RFC4193</a>, Link-Local and private IPv4-Mapped <a href="%s">RFC4291</a> IPv6 Addresses.').format('https://www.rfc-editor.org/rfc/rfc4193', 'https://www.rfc-editor.org/rfc/rfc4291'));
                o.rmempty = false;
 
                o = s.taboption('general', form.Flag, 'rebind_localhost',