Skip to content

Commit

Permalink
luci-app-banip: sync with banIP-0.9.1
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Brenken <[email protected]>
  • Loading branch information
dibdot committed Oct 3, 2023
1 parent f3b64fd commit 71de98e
Show file tree
Hide file tree
Showing 38 changed files with 3,288 additions and 3,051 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,18 +410,25 @@ return view.extend({
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwads'), _('Always allow certain VLAN forwards.'));
o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanallow', _('Allow VLAN Forwards'), _('Always allow certain VLAN forwards.'));
o.multiple = true;
o.nocreate = true;
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwads'), _('Always block certain VLAN forwards.'));
o = s.taboption('adv_chain', widgets.DeviceSelect, 'ban_vlanblock', _('Block VLAN Forwards'), _('Always block certain VLAN forwards.'));
o.multiple = true;
o.nocreate = true;
o.optional = true;
o.rmempty = true;

o = s.taboption('general', form.ListValue, 'ban_triggeraction', _('Trigger Action'), _('Trigger action on ifup interface events.'));
o.value('start', _('start (default)'));
o.value('reload', _('reload'));
o.value('restart', _('restart'));
o.optional = true;
o.rmempty = true;

o = s.taboption('adv_chain', form.ListValue, 'ban_blockpolicy', _('Default Block Policy'), _('By default each feed is active in all supported chains. Limit the default block policy to a certain chain.'));
o.value('input', _('WAN-Input Chain'));
o.value('forwardwan', _('WAN-Forward Chain'));
Expand Down
Loading

0 comments on commit 71de98e

Please sign in to comment.