summaryrefslogtreecommitdiffstats
path: root/tests/py/ip
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-05-29 13:47:11 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-29 13:48:19 +0200
commitc2cad53ffc22acf1a600219404c6ea5a9f988c37 (patch)
treec08a477318bd377b8eeb0510d9265809c1c60ec4 /tests/py/ip
parent3b101fcbcfe01c04e17c36103fcbbdda93b12863 (diff)
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 <fw@strlen.de>
Diffstat (limited to 'tests/py/ip')
-rw-r--r--tests/py/ip/flowtable.t2
-rw-r--r--tests/py/ip/flowtable.t.json2
-rw-r--r--tests/py/ip/flowtable.t.payload2
3 files changed, 3 insertions, 3 deletions
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