diff options
author | Lukas Wunner <lukas@wunner.de> | 2021-10-24 09:37:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-28 02:01:20 +0200 |
commit | 1e30a3a49a5eaf2a1e0e4b2d8f4949db9db565e7 (patch) | |
tree | 6018b85290f3d00d026df8970ad9976a001f6bdf /tests/py/netdev/fwd.t | |
parent | c03d5e2bda285db8358407de3581b4ea933bd3dc (diff) |
tests: py: Move netdev-specific tests to appropriate subdirectory
The fwd and dup statements are specific to netdev hooks, so move their
tests to the appropriate subdirectory.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/netdev/fwd.t')
-rw-r--r-- | tests/py/netdev/fwd.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/py/netdev/fwd.t b/tests/py/netdev/fwd.t new file mode 100644 index 00000000..2e34d55a --- /dev/null +++ b/tests/py/netdev/fwd.t @@ -0,0 +1,8 @@ +:ingress;type filter hook ingress device lo priority 0 + +*netdev;test-netdev;ingress + +fwd to "lo";ok +fwd to meta mark map { 0x00000001 : "lo", 0x00000002 : "lo"};ok + +fwd ip to 192.168.2.200 device "lo";ok |