blob: ba40ddb9668cac060981448578cdb746ac78cf3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -e
$NFT add table t
$NFT add chain t c1
$NFT add chain t c2
$NFT add t c1 jump c2
# kernel should return ENOENT
$NFT add t c2 ip daddr vmap { 1 : jump c3 }
echo "E: Jumped to non existing chain" >&2
|