batman-adv: fix arguments order when calling tt_local_add
PATCH 1/1 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 <[email protected]>
--- soft-interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
soft-interface.c +2 -2
@@ -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 ;
Signature · 1 line
1.8.4
Marek Lindner
AppliedQuoted 7 lines · On Saturday 19 October 2013 15:23:42 Antonio Quartulli wrote:
Introduced by
c018ad3de61a1dc4194879a53e5559e094aa7b1a("batman-adv: add the VLAN ID attribute to the TT entry")Signed-off-by Antonio Quartulli <[email protected]>--- soft-interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied in revision 148fc50.
Thanks,
Marek