]> git.ipfire.org Git - thirdparty/nftables.git/commit
evaluate: print a hint about 'typeof' syntax on 0 keylen
authorFlorian Westphal <fw@strlen.de>
Tue, 10 Dec 2019 14:23:35 +0000 (15:23 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 17 Dec 2019 22:10:46 +0000 (23:10 +0100)
commitc4e54f81ac1fb9afa9cf78baf9411a6ba2b626a6
treeb3b23418e5b6d023ffaf9318e5af2b91e85fa055
parente7069f617fb70dccb52f3de1beab7851a08eade9
evaluate: print a hint about 'typeof' syntax on 0 keylen

If user says

'type integer; ...' in a set definition, don't just throw an error --
provide a hint that the typeof keyword can be used to provide
the needed size information.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/evaluate.c