]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
tests: update to fit latest limit changes
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Tue, 22 Oct 2013 16:25:45 +0000 (18:25 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 27 Oct 2013 20:03:03 +0000 (21:03 +0100)
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>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/jsonfiles/27-rule-limit.json
tests/xmlfiles/27-rule-limit.xml

index 7e9b67d1af9dd445acad00d8d8b4b0b21dbd0c45..3ac5118f32563ee84121eafdaa9a6a12c94ae787 100644 (file)
@@ -1 +1 @@
-{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"expr":[{"type":"limit","rate":321321,"depth":0}]}}
+{"rule":{"family":"ip","table":"filter","chain":"input","handle":27,"expr":[{"type":"limit","rate":321321,"unit":0}]}}
index dca3a7c682304931babc1a51e4f2a9de5087763f..6761c9e8d53f4cb303107db1bf5b3c70a9928380 100644 (file)
@@ -1 +1 @@
-<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><expr type="limit"><rate>123123</rate><depth>321321</depth></expr></rule>
+<rule><family>ip</family><table>filter</table><chain>INPUT</chain><handle>100</handle><expr type="limit"><rate>123123</rate><unit>321321</unit></expr></rule>