diff options
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 4add57d4857f..06506e6f9006 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -51,7 +51,7 @@ static int batadv_compare_tt(const struct hlist_node *node, const void *data2) | |||
51 | const void *data1 = container_of(node, struct batadv_tt_common_entry, | 51 | const void *data1 = container_of(node, struct batadv_tt_common_entry, |
52 | hash_entry); | 52 | hash_entry); |
53 | 53 | ||
54 | return (memcmp(data1, data2, ETH_ALEN) == 0 ? 1 : 0); | 54 | return batadv_compare_eth(data1, data2); |
55 | } | 55 | } |
56 | 56 | ||
57 | /** | 57 | /** |