summaryrefslogtreecommitdiffstats
path: root/src/mnl.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-03-27 19:26:49 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2020-03-27 22:26:02 +0100
commitd6ac64f92dfca5da4d07989114a4aa46e1322453 (patch)
treefe82c3dcf5013ed806126e23ad24ec43250ef3b2 /src/mnl.c
parentb119428c934c7d356023828fed6a83b12bbcaa1f (diff)
evaluate: display error if set statement is missing
# cat /tmp/x table x { set y { type ipv4_addr elements = { 1.1.1.1 counter packets 1 bytes 67, } } } # nft -f /tmp/x /tmp/x:5:12-18: Error: missing counter statement in set definition 1.1.1.1 counter packets 1 bytes 67, ^^^^^^^^^^^^^^^^^^^^^^^^^^ Instead, this should be: table x { set y { type ipv4_addr counter <------- elements = { 1.1.1.1 counter packets 1 bytes 67, } } } Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/mnl.c')
0 files changed, 0 insertions, 0 deletions