Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit f5129b218e55fa9afe43499a5aee7fdb0f99fd71 Author: Antonio Quartulli antonio@meshcoding.com Date: Wed Feb 26 14:13:32 2014 +0100
batman-adv: use the name of the array as pointer
Introduced by fb4756fe5f6e58ca2ab208ca634ae4c8dd6e9499 ("batman-adv: use ether_addr_copy instead of memcpy in multicast code")
Signed-off-by: Antonio Quartulli antonio@meshcoding.com Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
f5129b218e55fa9afe43499a5aee7fdb0f99fd71 multicast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multicast.c b/multicast.c index e69143b..998b429 100644 --- a/multicast.c +++ b/multicast.c @@ -45,7 +45,7 @@ static int batadv_mcast_mla_softif_get(struct net_device *dev, break; }
- ether_addr_copy(&new->addr, &mc_list_entry->addr); + ether_addr_copy(new->addr, mc_list_entry->addr); hlist_add_head(&new->list, mcast_list); ret++; }