diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-28 21:57:29 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-31 23:43:36 +0100 |
commit | 62c152bf3ef811952ae57778da280c40bbb010ce (patch) | |
tree | 42d3c113be5cdd7a6a007fe69a971768fde33103 /tests/py/bridge/vlan.t | |
parent | 0b858391781ba3086fbea2920a6e43927725fd4b (diff) |
tests/py: test vlan on ingress
This generates the same code as bridge does, but it includes this check
in first place.
[ meta load iiftype => reg 1 ]
[ cmp eq reg 1 0x00000001 ]
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/bridge/vlan.t')
-rw-r--r-- | tests/py/bridge/vlan.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/py/bridge/vlan.t b/tests/py/bridge/vlan.t index e7c75bba..526d7cc9 100644 --- a/tests/py/bridge/vlan.t +++ b/tests/py/bridge/vlan.t @@ -1,6 +1,8 @@ :input;type filter hook input priority 0 +:ingress;type filter hook ingress device lo priority 0 *bridge;test-bridge;input +*netdev;test-netdev;ingress vlan id 4094;ok vlan id 0;ok |