Changing the reference lines is not enough, the actual JSON has to be
adjusted as well. Since after the changes output for ip/flowtable.t is
now symmetric, ip/flowtable.t.json.output can be removed.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
}
},
"name": "xyz",
+ "size": 8192,
"stmt": {
"counter": null
}
+++ /dev/null
-# meter xyz { ip saddr timeout 30s counter}
-[
- {
- "meter": {
- "key": {
- "elem": {
- "timeout": 30,
- "val": {
- "payload": {
- "field": "saddr",
- "name": "ip"
- }
- }
- }
- },
- "name": "xyz",
- "size": 65535,
- "stmt": {
- "counter": null
- }
- }
- }
-]
-
}
},
"name": "acct_out",
+ "size": 4096,
"stmt": {
"counter": null
}
}
},
"name": "acct_out",
+ "size": 12345,
"stmt": {
"counter": null
}
-# meter acct_out { meta iif . ip6 saddr timeout 600s counter }
+# meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
[
{
"meter": {
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 4096,
"stmt": {
"counter": null
}
}
]
-# meter acct_out { ip6 saddr . meta iif timeout 600s counter }
+# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }
[
{
"meter": {
}
},
"name": "acct_out",
- "size": 65535,
+ "size": 12345,
"stmt": {
"counter": null
}