This is for consistency with `struct tlv_ssl`.
---
 include/haproxy/connection-t.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h
index 9c2af7b8f..0bcceacff 100644
--- a/include/haproxy/connection-t.h
+++ b/include/haproxy/connection-t.h
@@ -649,7 +649,7 @@ struct tlv {
        uint8_t type;
        uint8_t length_hi;
        uint8_t length_lo;
-       uint8_t value[0];
+       uint8_t value[VAR_ARRAY];
 }__attribute__((packed));
 
 struct tlv_ssl {
-- 
2.30.1


Reply via email to