From 8f6e1c37e3e74e1fd490a0de5360ff1467c521cd Mon Sep 17 00:00:00 2001
From: Phil Sutter <phil@nwl.cc>
Date: Wed, 29 Aug 2018 16:23:26 +0200
Subject: JSON: Rename mangle statement properties

Instead of the generic "left" and "right", use "key" and "value".

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 doc/libnftables-json.adoc | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'doc/libnftables-json.adoc')

diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc
index ab11d7df..309988bc 100644
--- a/doc/libnftables-json.adoc
+++ b/doc/libnftables-json.adoc
@@ -618,15 +618,16 @@ in. The second form specifies a reference to a named counter object.
 === MANGLE
 [verse]
 *{ "mangle": {
-	"left":* 'EXPRESSION'*,
-	"right":* 'EXPRESSION'
+	"key":* 'EXPRESSION'*,
+	"value":* 'EXPRESSION'
 *}}*
 
 Change packet data or meta info.
 
-*left*::
-	Packet data to be changed.
-*right*::
+*key*::
+	Packet data to be changed, given as *exthdr*, *payload*, *meta*, *ct* or
+	*ct helper* expression.
+*value*::
 	Value to change data to.
 
 === QUOTA
-- 
cgit v1.2.3

