diff options
author | Phil Sutter <phil@nwl.cc> | 2024-01-31 17:30:24 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-01-31 18:00:44 +0100 |
commit | a4034c66b03e4d526fbad78da9cd38da9f1f43a5 (patch) | |
tree | d0c3a412ffe726b6ef07573c6e8b686fed33051f /doc | |
parent | 419c0199774c60ddf8b65f40c1ace8aac1c113d3 (diff) |
json: Support sets' auto-merge option
If enabled, list the option as additional attribute with boolean value.
Fixes: e70354f53e9f6 ("libnftables: Implement JSON output support")
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1734
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libnftables-json.adoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/libnftables-json.adoc b/doc/libnftables-json.adoc index 3e6e1db3..ee79b959 100644 --- a/doc/libnftables-json.adoc +++ b/doc/libnftables-json.adoc @@ -312,7 +312,8 @@ ____ "elem":* 'SET_ELEMENTS'*, "timeout":* 'NUMBER'*, "gc-interval":* 'NUMBER'*, - "size":* 'NUMBER' + "size":* 'NUMBER'*, + "auto-merge":* 'BOOLEAN' *}}* *{ "map": { @@ -327,7 +328,8 @@ ____ "elem":* 'SET_ELEMENTS'*, "timeout":* 'NUMBER'*, "gc-interval":* 'NUMBER'*, - "size":* 'NUMBER' + "size":* 'NUMBER'*, + "auto-merge":* 'BOOLEAN' *}}* 'SET_TYPE' := 'STRING' | *[* 'SET_TYPE_LIST' *]* @@ -366,6 +368,8 @@ that they translate a unique key to a value. Garbage collector interval in seconds. *size*:: Maximum number of elements supported. +*auto-merge*:: + Automatic merging of adjacent/overlapping set elements in interval sets. ==== TYPE The set type might be a string, such as *"ipv4_addr"* or an array |