From 2606db33878c4cf620d29acdebb4be9e310c10cd Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 13 Dec 2022 14:37:22 +0100 Subject: 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 --- doc/statements.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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'] *}* -- cgit v1.2.3