From 5bac6832d4a62bfbca66453474b91f6d6d6049f7 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 24 Nov 2017 13:33:47 +0100 Subject: 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 --- tests/py/ip/flowtable.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/ip/flowtable.t.payload') diff --git a/tests/py/ip/flowtable.t.payload b/tests/py/ip/flowtable.t.payload index 4dbd03d0..34a58499 100644 --- a/tests/py/ip/flowtable.t.payload +++ b/tests/py/ip/flowtable.t.payload @@ -1,4 +1,4 @@ -# meter name xyz { ip saddr timeout 30s counter} +# meter xyz { ip saddr timeout 30s counter} xyz test-ip 31 xyz test-ip 0 ip test-ip input -- cgit v1.2.3