Skip to content

Commit

Permalink
chore(client): update fields description
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Jun 2, 2024
1 parent f6e9da7 commit b02ac6c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,7 @@ return view.extend({

so = ss.option(form.Value, 'client_subnet', _('EDNS Client subnet'),
_('Append a <code>edns0-subnet</code> OPT extra record with the specified IP prefix to every query by default.<br/>' +
'If value is an IP address instead of prefix, <code>/32</code> or <code>/128</code> will be appended automatically.<br/>' +
'Can be overrides by <code>servers.[].client_subnet</code> or <code>rules.[].client_subnet</code>.'));
'If value is an IP address instead of prefix, <code>/32</code> or <code>/128</code> will be appended automatically.'));
so.datatype = 'or(cidr, ipaddr)';

so = ss.option(form.Flag, 'cache_file_store_rdrc', _('Store RDRC'),
Expand Down Expand Up @@ -844,12 +843,12 @@ return view.extend({
so.modalonly = true;

so = ss.option(form.DynamicList, 'ip_cidr', _('IP CIDR'),
_('Address Filter Fields: Match IP CIDR with query response.'));
_('Match IP CIDR with query response.'));
so.datatype = 'or(cidr, ipaddr)';
so.modalonly = true;

so = ss.option(form.Flag, 'ip_is_private', _('Private IP'),
_('Address Filter Fields: Match private IP with query response.'));
_('Match private IP with query response.'));
so.default = so.disabled;
so.modalonly = true;

Expand Down

0 comments on commit b02ac6c

Please sign in to comment.