On Tuesday 17 December 2013 19:12:12 Simon Wunderlich wrote:
With unrolling the batadv_header into the respective structures, the offsetof checks are now useless. Instead, add build checks for all packet types which go over the wire to avoid problems with wrong sizes or compatibility issues on some architectures which don't use every day.
Signed-off-by: Simon Wunderlich sw@simonwunderlich.de
main.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-)
Applied in revision 30e6045.
Thanks, Marek