* [libnftables PATCH] test: update to fit latest limit changes
@ 2013-10-22 16:25 Arturo Borrero Gonzalez
2013-10-27 20:03 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2013-10-22 16:25 UTC (permalink / raw)
To: netfilter-devel
Update tests to fit the latest limit changes in
commit [e91ea14] (expr: limit: operational limit match)
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
tests/jsonfiles/27-rule-limit.json | 2 +-
tests/xmlfiles/27-rule-limit.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/jsonfiles/27-rule-limit.json b/tests/jsonfiles/27-rule-limit.json
index 1f066b4..6d91244 100644
--- a/tests/jsonfiles/27-rule-limit.json
+++ b/tests/jsonfiles/27-rule-limit.json
@@ -1 +1 @@
-{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"flags":0,"expr":[{"type":"limit","rate":321321,"depth":0}]}}
+{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"flags":0,"expr":[{"type":"limit","rate":321321,"unit":0}]}}
diff --git a/tests/xmlfiles/27-rule-limit.xml b/tests/xmlfiles/27-rule-limit.xml
index aa81b4e..38a19f8 100644
--- a/tests/xmlfiles/27-rule-limit.xml
+++ b/tests/xmlfiles/27-rule-limit.xml
@@ -1 +1 @@
-<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</flags><expr type="limit"><rate>123123</rate><depth>321321</depth></expr></rule>
+<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><flags>0</flags><expr type="limit"><rate>123123</rate><unit>321321</unit></expr></rule>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libnftables PATCH] test: update to fit latest limit changes
2013-10-22 16:25 [libnftables PATCH] test: update to fit latest limit changes Arturo Borrero Gonzalez
@ 2013-10-27 20:03 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-10-27 20:03 UTC (permalink / raw)
To: Arturo Borrero Gonzalez; +Cc: netfilter-devel
On Tue, Oct 22, 2013 at 06:25:45PM +0200, Arturo Borrero Gonzalez wrote:
> Update tests to fit the latest limit changes in
> commit [e91ea14] (expr: limit: operational limit match)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-27 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22 16:25 [libnftables PATCH] test: update to fit latest limit changes Arturo Borrero Gonzalez
2013-10-27 20:03 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).