summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/netdev_chain_dormant_autoremove
blob: 0a684e565bdf8282fdc583cf71664de0b7165b26 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -e

ip link add dummy0 type dummy
ip link add dummy1 type dummy
$NFT add table netdev test { flags dormant\; }
$NFT add chain netdev test ingress { type filter hook ingress devices = { "dummy0", "dummy1" } priority 0\; policy drop\; }
ip link del dummy0