commit | c44b8de9959081fa6df511f9548f3031205ce6ee | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Sat Mar 06 20:06:47 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 09 09:24:32 2021 +0100 |
tree | 3bb3adc3daee78c8894e8b2bb8b061ccfc731a6c | |
parent | 7bbc6c9ac3511dd54bcd575d8c6404af2731576b [diff] |
CLEANUP: connection: Use `VAR_ARRAY` in `struct tlv` definition This is for consistency with `struct tlv_ssl`.
diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 9c2af7b..0bcceac 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h
@@ -649,7 +649,7 @@ 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 {