batman-adv: properly convert flag into a boolean value
authorAntonio Quartulli <ordex@autistici.org>
Mon, 27 Aug 2012 07:35:54 +0000 (09:35 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:47 +0000 (09:42 +0100)
commit9f9ff08d26b2f6ecea7900a9c9543c627cd95e56
treecac0705d0e8b2fcd578c5b18a7dd1f17a654457f
parentb8fcfa42e4ec5d55d4cccd5c728415e8bca0539d
batman-adv: properly convert flag into a boolean value

In order to properly convert a bitwise AND to a boolean value, the whole
expression must be prepended by "!!".

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/translation-table.c