summaryrefslogtreecommitdiffstats
path: root/tests/py/inet
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-08 17:27:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-11 11:31:49 +0200
commitd4bd008be257cc95b2e9625cc5506b9e925c766d (patch)
tree07582fa8e876be57b0ff350c78fcabf072753308 /tests/py/inet
parent4e20921ea9200453fbfbec0e9dc891ed37b95a6c (diff)
JSON: Call verdict maps 'vmap' in JSON as well
This way JSON format is more consistent with the standard one. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet')
-rw-r--r--tests/py/inet/fib.t.json2
-rw-r--r--tests/py/inet/fib.t.json.output2
-rw-r--r--tests/py/inet/tcp.t.json6
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/py/inet/fib.t.json b/tests/py/inet/fib.t.json
index cb15e397..00c79abc 100644
--- a/tests/py/inet/fib.t.json
+++ b/tests/py/inet/fib.t.json
@@ -56,7 +56,7 @@
# fib daddr . iif type vmap { blackhole : drop, prohibit : drop, unicast : accept }
[
{
- "map": {
+ "vmap": {
"left": {
"fib": {
"flags": [
diff --git a/tests/py/inet/fib.t.json.output b/tests/py/inet/fib.t.json.output
index c473b2af..b06e488a 100644
--- a/tests/py/inet/fib.t.json.output
+++ b/tests/py/inet/fib.t.json.output
@@ -1,7 +1,7 @@
# fib daddr . iif type vmap { blackhole : drop, prohibit : drop, unicast : accept }
[
{
- "map": {
+ "vmap": {
"left": {
"fib": {
"flags": [
diff --git a/tests/py/inet/tcp.t.json b/tests/py/inet/tcp.t.json
index f5df72aa..2f83566d 100644
--- a/tests/py/inet/tcp.t.json
+++ b/tests/py/inet/tcp.t.json
@@ -175,7 +175,7 @@
# tcp dport vmap { 22 : accept, 23 : drop }
[
{
- "map": {
+ "vmap": {
"left": {
"payload": {
"field": "dport",
@@ -205,7 +205,7 @@
# tcp dport vmap { 25:accept, 28:drop }
[
{
- "map": {
+ "vmap": {
"left": {
"payload": {
"field": "dport",
@@ -430,7 +430,7 @@
# tcp sport vmap { 25:accept, 28:drop }
[
{
- "map": {
+ "vmap": {
"left": {
"payload": {
"field": "sport",