Merge pull request #6712 from systemcrash/discard_text
authorPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 04:16:23 +0000 (05:16 +0100)
committerPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 22:39:01 +0000 (23:39 +0100)
luci-mod-network: Extend helptext for RFC1918 rebind_protection
(cherry picked from commit d75626efcdf322a2c16559c11d5a53bab6dbd8a3)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index 538b1b0d55a46f8b31b9c2fa2232f0510a5edc23..ade401adc59c87ae6563c73c5e46472406d0c7ed 100644 (file)
@@ -325,7 +325,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',