batman-adv: move neigh_node->if_incoming->if_status check in find_router()
authorAntonio Quartulli <ordex@autistici.org>
Sun, 8 May 2011 18:52:57 +0000 (20:52 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 30 May 2011 05:39:27 +0000 (07:39 +0200)
Every time that find_router() is invoked, if_status has to be compared with
IF_ACTIVE. Moving this comparison inside find_router() will avoid to write it
each time.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>

No differences found