luci-mod-network: correct dnsrr field name to rrname
authorPaul Donald <[email protected]>
Thu, 6 Mar 2025 05:21:33 +0000 (23:21 -0600)
committerPaul Donald <[email protected]>
Thu, 6 Mar 2025 05:21:33 +0000 (23:21 -0600)
follow-up fix for f88f9034f20a97a50179881cde89676f5b5dd948

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

index afe21259ccb0cb18d2b5317c7121ee49bc3589f1..e815335c8219033d086652050e5a7b7d843390fc 100644 (file)
@@ -1088,7 +1088,7 @@ return view.extend({
                        uci.set('dhcp', section, this.option, encodedArr);
                }
 
-               so = ss.option(form.Value, 'dnsrr', _('Resource Record Name'));
+               so = ss.option(form.Value, 'rrname', _('Resource Record Name'));
                so.rmempty = false;
                so.datatype = 'hostname';
                so.placeholder = 'svcb.example.com.';