batman-adv: initialize ELP orig address on secondary interfaces
authorMarek Lindner <mareklindner@neomailbox.ch>
Sat, 7 May 2016 11:54:17 +0000 (19:54 +0800)
committerAntonio Quartulli <a@unstable.cc>
Wed, 18 May 2016 03:49:44 +0000 (11:49 +0800)
commitebe24cea95ab969f76f2922032f6c390fdc816f2
tree74a7b66238dd55bed64c3d3f7815c3642ddd7382
parente123705e58bf171be8c6eb0902ebfb5d6ed255ad
batman-adv: initialize ELP orig address on secondary interfaces

This fix prevents nodes to wrongly create a 00:00:00:00:00:00 originator
which can potentially interfere with the rest of the neighbor statistics.

Fixes: d6f94d91f766 ("batman-adv: ELP - adding basic infrastructure")
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/bat_v.c
net/batman-adv/bat_v_elp.c
net/batman-adv/bat_v_elp.h