Commit 299478e5 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen
Browse files

test: filter-limit: rename limit

parent 9f20f1f7
......@@ -38,7 +38,7 @@ function add(limit_type, filter)
if not high_rate then = 'foo' = 'A'
for _, addr in ipairs{false, 'dest'} do
limit.addr = addr or nil
......@@ -59,12 +59,12 @@ add('conn', {out='B'})
add('flow', {['in']='A', out='_fw', ['no-track']=true})
table.insert(res, {['update-limit']='foo'})
table.insert(res, {['update-limit']='A'})
for _, measure in ipairs{'conn', 'flow'} do
for _, addr in ipairs{'src', 'dest'} do
res, {['update-limit']={name='foo', measure=measure, addr=addr}}
res, {['update-limit']={name='A', measure=measure, addr=addr}}
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment