Skip to content

Commit

Permalink
fix(client): fix depends for option endpoint_independent_nat
Browse files Browse the repository at this point in the history
  • Loading branch information
muink authored Apr 10, 2024
1 parent 3b146dc commit 6a3997a
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 @@ -309,6 +309,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 6a3997a

Please sign in to comment.