Repository : ssh://git@open-mesh.org/batman-adv
On branch : next
commit 148fc50b41105f7129ac44f36edd527c91a63a08 Author: Antonio Quartulli antonio@meshcoding.com Date: Sat Oct 19 15:23:42 2013 +0200
batman-adv: fix arguments order when calling tt_local_add
Introduced by c018ad3de61a1dc4194879a53e5559e094aa7b1a ("batman-adv: add the VLAN ID attribute to the TT entry")
Signed-off-by: Antonio Quartulli antonio@meshcoding.com Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
148fc50b41105f7129ac44f36edd527c91a63a08 soft-interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/soft-interface.c b/soft-interface.c index a1f00e8..36f0508 100644 --- a/soft-interface.c +++ b/soft-interface.c @@ -120,8 +120,8 @@ static int batadv_interface_set_mac_addr(struct net_device *dev, void *p) if (atomic_read(&bat_priv->mesh_state) == BATADV_MESH_ACTIVE) { batadv_tt_local_remove(bat_priv, old_addr, BATADV_NO_FLAGS, "mac address changed", false); - batadv_tt_local_add(dev, addr->sa_data, BATADV_NULL_IFINDEX, - BATADV_NO_FLAGS); + batadv_tt_local_add(dev, addr->sa_data, BATADV_NO_FLAGS, + BATADV_NULL_IFINDEX); }
return 0;