Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
allow loopback when follow_pub_port is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed May 11, 2023
1 parent ce54a03 commit ef48fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/luci-static/resources/view/natter/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ return view.extend({
o = s.option(form.Flag, 'loopback', _('Nat loopback'));
o.default = o.enabled;
o.rmempty = true;
o.depends({ mode: 'dnat', follow_pub_port: '0' });
o.depends('mode', 'dnat');

return m.render()
.then(L.bind(function(m, nodes) {
Expand Down

0 comments on commit ef48fa9

Please sign in to comment.