Staging: batman-adv: always reply batman icmp packets with primary mac
authorMarek Lindner <lindner_marek@yahoo.de>
Mon, 9 Aug 2010 21:56:41 +0000 (23:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 01:15:36 +0000 (18:15 -0700)
commitb7a23bce7bc9cac85eab1b958e922b2c472ab8fd
tree1f3d960e4a096dcd3bc1850a809c1543a5afbeca
parent13334d4875dbaeeb44e7905463f07e236f80311f
Staging: batman-adv: always reply batman icmp packets with primary mac

When receiving an batman icmp echo request or in case of a time-to-live
exceeded batman would reply with the mac address of the outgoing
interface which might be a secondary interface. Because secondary
interfaces are not globally known this might lead to confusion.
Now, replies are sent with the mac address of the primary interface.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/routing.c