Commit 2c8f136b authored by Ad Schellevis's avatar Ad Schellevis

(IDS) add ips option to model and form

parent 8664ff2c
...@@ -5,6 +5,12 @@ ...@@ -5,6 +5,12 @@
<type>checkbox</type> <type>checkbox</type>
<help>enable IDS</help> <help>enable IDS</help>
</field> </field>
<field>
<id>ids.general.ips</id>
<label>IPS mode</label>
<type>checkbox</type>
<help>enable protection mode (block traffic)</help>
</field>
<field> <field>
<id>ids.general.interfaces</id> <id>ids.general.interfaces</id>
<label>interfaces</label> <label>interfaces</label>
......
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
<default>0</default> <default>0</default>
<Required>Y</Required> <Required>Y</Required>
</enabled> </enabled>
<ips type="BooleanField">
<default>0</default>
<Required>Y</Required>
</ips>
<interfaces type="InterfaceField"> <interfaces type="InterfaceField">
<Required>Y</Required> <Required>Y</Required>
<default>wan</default> <default>wan</default>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment