ipv6 datagram: Fix Clang complaining about a flexible array member.

Interestingly, [0] should be as invalid in C++ as [] in this case, yet
Clang refuses [], but accepts [0].

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Jonathan Schleifer
2014-01-13 19:16:31 +01:00
committed by Jérôme Duval
parent 9c707f06a2
commit e929cd2f8f
@@ -92,7 +92,7 @@ struct router_advertisement_header {
uint16 router_lifetime;
uint32 reachable_time;
uint32 retransmit_timer;
uint8 options[];
uint8 options[0];
} _PACKED;