luci-mod-network: add RFC details for NAT64 option
authorPaul Donald <[email protected]>
Tue, 30 Sep 2025 17:43:08 +0000 (19:43 +0200)
committerPaul Donald <[email protected]>
Tue, 30 Sep 2025 19:03:44 +0000 (21:03 +0200)
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit 325286a3b9fc6d1203596c3d052b1d81d4dd33e9)

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

index 3895ce6c9a0441161ccbdd461d068686e7712636..7ba803463c7e3a3585c74272a726ee3adb8a62dc 100644 (file)
@@ -847,7 +847,8 @@ return view.extend({
                                                }
                                        };
 
-                                       so = ss.taboption('ipv6-ra', form.Value, 'ra_pref64', _('NAT64 prefix'), _('Announce NAT64 prefix in <abbr title="Router Advertisement">RA</abbr> messages.'));
+                                       so = ss.taboption('ipv6-ra', form.Value, 'ra_pref64', _('NAT64 prefix'), _('Announce NAT64 prefix in <abbr title="Router Advertisement">RA</abbr> messages.') +  ' ' + 
+                                               _('See %s and %s.'.format('<a href="%s" target="_blank">RFC6146</a>', '<a href="%s" target="_blank">RFC8781</a>').format('https://www.rfc-editor.org/rfc/rfc6146', 'https://www.rfc-editor.org/rfc/rfc8781')));
                                        so.optional = true;
                                        so.datatype = 'cidr6';
                                        so.placeholder = '64:ff9b::/96';