summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ipsec.t.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/ipsec.t.json')
-rw-r--r--tests/py/inet/ipsec.t.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/py/inet/ipsec.t.json b/tests/py/inet/ipsec.t.json
index d7d3a03c..18a64f35 100644
--- a/tests/py/inet/ipsec.t.json
+++ b/tests/py/inet/ipsec.t.json
@@ -134,3 +134,24 @@
}
}
]
+
+# counter ipsec out ip daddr 192.168.1.2
+[
+ {
+ "counter": null
+ },
+ {
+ "match": {
+ "left": {
+ "ipsec": {
+ "dir": "out",
+ "family": "ip",
+ "key": "daddr",
+ "spnum": 0
+ }
+ },
+ "op": "==",
+ "right": "192.168.1.2"
+ }
+ }
+]