blob: 14c3f78af7f1959f0139003fa2a5ef36aeeb5049 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh -e
$NFT add table x
# pass for non-existent map
$NFT destroy map x y
# successfully delete existing map
$NFT add map x y '{ type ipv4_addr : ipv4_addr; }'
$NFT destroy map x y
|