From c2cad53ffc22acf1a600219404c6ea5a9f988c37 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 29 May 2018 13:47:11 +0200 Subject: meters: do not set a defaut meter size from userspace doing this breaks with older kernels as it will pick a set without and update callback. Signed-off-by: Florian Westphal --- tests/py/ip/flowtable.t | 2 +- tests/py/ip/flowtable.t.json | 2 +- tests/py/ip/flowtable.t.payload | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/py/ip') diff --git a/tests/py/ip/flowtable.t b/tests/py/ip/flowtable.t index 7a68788a..086c6cf6 100644 --- a/tests/py/ip/flowtable.t +++ b/tests/py/ip/flowtable.t @@ -2,4 +2,4 @@ *ip;test-ip;input -meter xyz { ip saddr timeout 30s counter};ok;meter xyz size 65535 { ip saddr timeout 30s counter} +meter xyz size 8192 { ip saddr timeout 30s counter};ok diff --git a/tests/py/ip/flowtable.t.json b/tests/py/ip/flowtable.t.json index e6fc09f4..ca4b5f61 100644 --- a/tests/py/ip/flowtable.t.json +++ b/tests/py/ip/flowtable.t.json @@ -1,4 +1,4 @@ -# meter xyz { ip saddr timeout 30s counter} +# meter xyz size 8192 { ip saddr timeout 30s counter} [ { "meter": { diff --git a/tests/py/ip/flowtable.t.payload b/tests/py/ip/flowtable.t.payload index 34a58499..c0aad39e 100644 --- a/tests/py/ip/flowtable.t.payload +++ b/tests/py/ip/flowtable.t.payload @@ -1,4 +1,4 @@ -# meter xyz { ip saddr timeout 30s counter} +# meter xyz size 8192 { ip saddr timeout 30s counter} xyz test-ip 31 xyz test-ip 0 ip test-ip input -- cgit v1.2.3