From ef48fa9294d82678aa33a326c9a080d520e8c5c5 Mon Sep 17 00:00:00 2001 From: Anya Lin Date: Thu, 11 May 2023 23:15:27 +0800 Subject: [PATCH] allow loopback when follow_pub_port is enabled --- htdocs/luci-static/resources/view/natter/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/luci-static/resources/view/natter/main.js b/htdocs/luci-static/resources/view/natter/main.js index 64d64e4..cfc9475 100644 --- a/htdocs/luci-static/resources/view/natter/main.js +++ b/htdocs/luci-static/resources/view/natter/main.js @@ -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) {