diff options
-rw-r--r-- | net/batman-adv/routing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index 90ae6f0c30f3..368ceeba8145 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -108,7 +108,7 @@ static void update_route(struct bat_priv *bat_priv, struct orig_node *orig_node, | |||
108 | tt_buff, tt_buff_len); | 108 | tt_buff, tt_buff_len); |
109 | 109 | ||
110 | /* route changed */ | 110 | /* route changed */ |
111 | } else { | 111 | } else if (neigh_node && curr_router) { |
112 | bat_dbg(DBG_ROUTES, bat_priv, | 112 | bat_dbg(DBG_ROUTES, bat_priv, |
113 | "Changing route towards: %pM " | 113 | "Changing route towards: %pM " |
114 | "(now via %pM - was via %pM)\n", | 114 | "(now via %pM - was via %pM)\n", |