Commit 55d86df2 authored by Ad Schellevis's avatar Ad Schellevis

(trafficshaper) add secondary interface to match packets

parent 3123223f
...@@ -10,6 +10,14 @@ ...@@ -10,6 +10,14 @@
<label>interface</label> <label>interface</label>
<type>dropdown</type> <type>dropdown</type>
</field> </field>
<field>
<id>rule.interface2</id>
<label>interface 2</label>
<type>dropdown</type>
<advanced>true</advanced>
<help>secondary interface, matches packets going traveling from interface (1) to interface (2).
</help>
</field>
<field> <field>
<id>rule.proto</id> <id>rule.proto</id>
<label>proto</label> <label>proto</label>
......
...@@ -126,6 +126,13 @@ ...@@ -126,6 +126,13 @@
<enable>/^(?!0).*$/</enable> <enable>/^(?!0).*$/</enable>
</filters> </filters>
</interface> </interface>
<interface2 type="InterfaceField">
<Required>N</Required>
<default></default>
<filters>
<enable>/^(?!0).*$/</enable>
</filters>
</interface2>
<proto type="OptionField"> <proto type="OptionField">
<Required>Y</Required> <Required>Y</Required>
<default>ip</default> <default>ip</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