diff options
author | Florian Westphal <fw@strlen.de> | 2018-09-20 17:21:45 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-20 17:21:45 +0200 |
commit | 5b35fb3132b1fa4348266139661ffa21a5a5ae0d (patch) | |
tree | b8fde11306aa74fcadde0af7ef419aad4c727bdd /autogen.sh | |
parent | 3bacae9e4a1e34eb09503c5bb8c45b418b6c38b5 (diff) |
evaluate: throw distinct error if map exists but contains no objects
nft would throw misleading error in case map exists but doesn't contain
expected objects.
nft add rule filter in ct helper set tcp dport map @foo
Error: Expression is not a map
add rule filter in ct helper set tcp dport map @foo
^^^^
nft list table filter
table ip filter {
map foo {
type inet_service : ifname
}
...
clarify this.
Reported-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions