1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/patches/fullconenat-luci.patch

14 lines
555 B
Diff
Raw Normal View History

2020-04-02 12:14:51 +00:00
--- a/feeds/luci/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
+++ b/feeds/luci/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js
@@ -131,6 +131,10 @@ return L.view.extend({
o = s.taboption('general', form.Flag, 'masq', _('Masquerading'));
o.editable = true;
+ o = s.taboption('general', form.Flag, 'fullcone', _('Full Cone'));
+ o.editable = true;
+ o.depends('masq', '1');
+
o = s.taboption('general', form.Flag, 'mtu_fix', _('MSS clamping'));
o.modalonly = true;