]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: no need for 'name' token for meters
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Nov 2017 12:33:47 +0000 (13:33 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Nov 2017 14:53:44 +0000 (15:53 +0100)
commit5bac6832d4a62bfbca66453474b91f6d6d6049f7
tree15e8e6b56efe3215b0723f2271c09a629aa44901
parent24a912eea21f9d18909c53a865cf623839616281
parser_bison: no need for 'name' token for meters

Rework grammar to skip the 'name' token after 'meter' for named meters.
For consistency with sets and maps in terms of syntax.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/parser_bison.y
tests/py/ip/flowtable.t
tests/py/ip/flowtable.t.payload
tests/py/ip6/flowtable.t
tests/py/ip6/flowtable.t.payload
tests/shell/testcases/sets/0022type_selective_flush_0