]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: Fix configuration example for mqtt
authorDaniel Corbett <dcorbett@haproxy.com>
Thu, 13 May 2021 14:46:07 +0000 (10:46 -0400)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 May 2021 16:10:35 +0000 (18:10 +0200)
This patch fixes the example for mqtt_is_valid(), it was missing
curly braces within the ACL.

doc/configuration.txt

index 442b61e17089f713ed8b1c3fe1301b41d16a2a49..8724330fde7c9f559d7ba43693abc03ebbbf78ca 100644 (file)
@@ -16513,7 +16513,7 @@ mqtt_is_valid
   Example:
 
       acl data_in_buffer req.len ge 4
-      tcp-request content reject unless req.payload(0,0),mqtt_is_valid
+      tcp-request content reject unless { req.payload(0,0),mqtt_is_valid }
 
 mul(<value>)
   Multiplies the input value of type signed integer by <value>, and returns