diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-11-24 13:33:47 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-11-24 15:53:44 +0100 |
commit | 5bac6832d4a62bfbca66453474b91f6d6d6049f7 (patch) | |
tree | 15e8e6b56efe3215b0723f2271c09a629aa44901 /tests/py/ip6/flowtable.t | |
parent | 24a912eea21f9d18909c53a865cf623839616281 (diff) |
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>
Diffstat (limited to 'tests/py/ip6/flowtable.t')
-rw-r--r-- | tests/py/ip6/flowtable.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/ip6/flowtable.t b/tests/py/ip6/flowtable.t index 7a53f31a..5c048935 100644 --- a/tests/py/ip6/flowtable.t +++ b/tests/py/ip6/flowtable.t @@ -2,5 +2,5 @@ *ip6;test-ip6;input -meter name acct_out { meta iif . ip6 saddr timeout 600s counter };ok;meter name acct_out { iif . ip6 saddr timeout 10m counter} -meter name acct_out { ip6 saddr . meta iif timeout 600s counter };ok;meter name acct_out { ip6 saddr . iif timeout 10m counter} +meter acct_out { meta iif . ip6 saddr timeout 600s counter };ok;meter acct_out { iif . ip6 saddr timeout 10m counter} +meter acct_out { ip6 saddr . meta iif timeout 600s counter };ok;meter acct_out { ip6 saddr . iif timeout 10m counter} |