commit | bb899b89f46eb1fd6f62a4c360f6511b9714e479 | [log] [tgz] |
---|---|---|
author | Sven Eckelmann <sven@narfation.org> | Tue May 10 11:22:37 2011 +0200 |
committer | Sven Eckelmann <sven@narfation.org> | Mon May 30 07:39:37 2011 +0200 |
tree | abe2a2d492ef3bc9028d6deb2822abdd21b3c92f | |
parent | 402196724816875d382099bedb09fdf1f57845bc [diff] |
batman-adv: Ensure that we really have route changes in update_route The debug output of update_route has tests for "route deleted" and "route added". All other situations are handled as "route changed". This is not true because neigh_node and curr_router could be both NULL. The function is not called in this situation, but the code might be interpreted wrong when reading it without this test. Signed-off-by: Sven Eckelmann <sven@narfation.org>