projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbc6c9
)
CLEANUP: connection: Use `VAR_ARRAY` in `struct tlv` definition
author
Tim Duesterhus
<tim@bastelstu.be>
Sat, 6 Mar 2021 19:06:47 +0000
(20:06 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 9 Mar 2021 08:24:32 +0000
(09:24 +0100)
This is for consistency with `struct tlv_ssl`.
include/haproxy/connection-t.h
patch
|
blob
|
history
diff --git
a/include/haproxy/connection-t.h
b/include/haproxy/connection-t.h
index
9c2af7b
..
0bcceac
100644
(file)
--- 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 {