summaryrefslogtreecommitdiffstats
path: root/doc/statements.txt
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-12-13 14:37:22 +0100
committerFlorian Westphal <fw@strlen.de>2022-12-13 15:16:52 +0100
commit2606db33878c4cf620d29acdebb4be9e310c10cd (patch)
tree39646ce7be3a37b5eabaeacfc58b8506f8c58a2c /doc/statements.txt
parente41c53ca5b043e8cee493bf4a7f78195827279d2 (diff)
doc: add/update can be used with maps too
The man page implies that add/update are only supported with sets, but this can be used with maps as well. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doc/statements.txt')
-rw-r--r--doc/statements.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/statements.txt b/doc/statements.txt
index 9e0dd5a0..0532b2b1 100644
--- a/doc/statements.txt
+++ b/doc/statements.txt
@@ -716,6 +716,10 @@ will not grow indefinitely) either from the set definition or from the statement
that adds or updates them. The set statement can be used to e.g. create dynamic
blacklists.
+Dynamic updates are also supported with maps. In this case, the *add* or
+*update* rule needs to provide both the key and the data element (value),
+separated via ':'.
+
[verse]
{*add* | *update*} *@*'setname' *{* 'expression' [*timeout* 'timeout'] [*comment* 'string'] *}*