summaryrefslogtreecommitdiffstats
path: root/doc/libnftables-json.adoc
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-29 16:23:26 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-30 12:19:36 +0200
commit8f6e1c37e3e74e1fd490a0de5360ff1467c521cd (patch)
treeb6dd7190edd587d228a80781efccd302e958c8bb /doc/libnftables-json.adoc
parent665da8df3cfaf482157b752f5de98c45038621c3 (diff)
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>
Diffstat (limited to 'doc/libnftables-json.adoc')
-rw-r--r--doc/libnftables-json.adoc11
1 files changed, 6 insertions, 5 deletions
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