Skip to content

Commit

Permalink
fix(client): Add depends for option endpoint_independent_nat
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Apr 10, 2024
1 parent 7538a9c commit d782893
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/luci-static/resources/view/homeproxy/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ return view.extend({
so = ss.option(form.Flag, 'endpoint_independent_nat', _('Enable endpoint-independent NAT'),
_('Performance may degrade slightly, so it is not recommended to enable on when it is not needed.'));
so.default = so.enabled;
so.depends('tcpip_stack', 'mixed');
so.depends('tcpip_stack', 'gvisor');
so.rmempty = false;

Expand Down

0 comments on commit d782893

Please sign in to comment.