batman-adv: Avoid bool in structures
authorSven Eckelmann <sven@narfation.org>
Thu, 19 Apr 2018 19:01:07 +0000 (21:01 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 22 Apr 2018 08:11:06 +0000 (10:11 +0200)
commit6486379d8716ea6e68576b6d81d85d9a60f71a87
tree69b710b23d578ddc5b2fc4947a1c1cf1031aabe0
parentf26e4e98b15322522bc6221325bf14cbead65d1b
batman-adv: Avoid bool in structures

Using the bool type for structure member is considered inappropriate [1]
for the kernel. Its size is not well defined (but usually 1 byte but maybe
also 4 byte).

[1] https://lkml.org/lkml/2017/11/21/384

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/types.h