diff options
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 831427694fc2..f0232ad77222 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -326,7 +326,7 @@ void schedule_forward_packet(struct orig_node *orig_node, | |||
326 | if ((orig_node->router) && (orig_node->router->tq_avg != 0)) { | 326 | if ((orig_node->router) && (orig_node->router->tq_avg != 0)) { |
327 | 327 | ||
328 | /* rebroadcast ogm of best ranking neighbor as is */ | 328 | /* rebroadcast ogm of best ranking neighbor as is */ |
329 | if (!compare_orig(orig_node->router->addr, ethhdr->h_source)) { | 329 | if (!compare_eth(orig_node->router->addr, ethhdr->h_source)) { |
330 | batman_packet->tq = orig_node->router->tq_avg; | 330 | batman_packet->tq = orig_node->router->tq_avg; |
331 | 331 | ||
332 | if (orig_node->router->last_ttl) | 332 | if (orig_node->router->last_ttl) |