diff options
author | Phil Sutter <phil@nwl.cc> | 2018-08-29 16:23:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-08-30 12:19:36 +0200 |
commit | 665da8df3cfaf482157b752f5de98c45038621c3 (patch) | |
tree | 2e24a645694a8b0c06ff1adfbc2b6165fae4f5b8 /doc | |
parent | dfd72398d44ebbe17929d6e8ca0c870087a0c644 (diff) |
JSON: Rename (v)map expression properties
Change the rather generic "left" and "right" into "key" and "data" as
suggested at NFWS.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libnftables-json.adoc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc index 6000e98d..ab11d7df 100644 --- a/doc/libnftables-json.adoc +++ b/doc/libnftables-json.adoc @@ -895,15 +895,15 @@ Queue the packet to userspace. === VERDICT MAP [verse] *{ "vmap": { - "left":* 'EXPRESSION'*, - "right":* 'EXPRESSION' + "key":* 'EXPRESSION'*, + "data":* 'EXPRESSION' *}}* Apply a verdict conditionally. -*left*:: +*key*:: Map key. -*right*:: +*data*:: Mapping expression consisting of value/verdict pairs. === CT COUNT @@ -972,15 +972,15 @@ exactly two elements is expected. === MAP [verse] *{ "map": { - "left":* 'EXPRESSION'*, - "right":* 'EXPRESSION' + "key":* 'EXPRESSION'*, + "data":* 'EXPRESSION' *}}* Map a key to a value. -*left*:: +*key*:: Map key. -*right*:: +*data*:: Mapping expression consisting of value/target pairs. === PREFIX |