diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-07-13 11:17:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 11:17:22 +0200 |
commit | 8f0900470e0b023afa8fcc6eb3a47e683c3d3497 (patch) | |
tree | 1eb33360c475acebe1c12895c222ec42a29c3781 | |
parent | ff166c6a0695cff203b818bf51e19200698b1ba3 (diff) | |
parent | 3f20598acf57759aeda8ef5448e60f5a70e532f9 (diff) |
Merge pull request #6464 from jcassette/fix-1560
luci-app-firewall: add reflection_zone field to forwards
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js index 151a5338df..4b8e6bf604 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js @@ -313,6 +313,12 @@ return view.extend({ uci.set('firewall', section_id, 'reflection_src', (value != 'internal') ? value : null); }; + o = s.taboption('advanced', widgets.ZoneSelect, 'reflection_zone', _('Reflection zones'), _('Zones from which reflection rules shall be created. If unset, only the destination zone is used.')); + o.nocreate = true; + o.multiple = true; + o.modalonly = true; + o.depends('reflection', '1'); + o = s.taboption('advanced', form.Value, 'helper', _('Match helper'), _('Match traffic using the specified connection tracking helper.')); o.modalonly = true; o.placeholder = _('any'); |