CLEANUP: connection: Use VAR_ARRAY in struct tlv definition

This is for consistency with `struct tlv_ssl`.
This commit is contained in:
Tim Duesterhus 2021-03-06 20:06:47 +01:00 committed by Willy Tarreau
parent 7bbc6c9ac3
commit c44b8de995

View File

@ -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 {