>From cda4e7a1fd07c7853a728b80b7f44d37ca5e4b8b Mon Sep 17 00:00:00 2001
From: Daniel Corbett <dcorbett@haproxy.com>
Date: Thu, 13 May 2021 10:46:07 -0400
Subject: [PATCH] DOC: config: Fix configuration example for mqtt

This patch fixes the example for mqtt_is_valid(), it was missing
curly braces within the ACL.
---
 doc/configuration.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 442b61e17..8724330fd 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -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
-- 
2.25.1

