]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix visualization output without neighbors on the primary interface
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 5 May 2012 15:51:53 +0000 (17:51 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 18 Jun 2012 16:01:04 +0000 (18:01 +0200)
commita00b94b8b6ace87ca4ccdee95acb4215a912953a
tree08c96dbb5baf1c6e1f92e6c327a6fe2c43ebf203
parent73f8a8ec07239bfb603948eeaf8fc2da60299f79
batman-adv: fix visualization output without neighbors on the primary interface

The primary entry and the corresponding secondary entries are missing when there
are no neighbors on the primary interface. This also causes the TT entries to
miss and makes nodes with multiply secondary interface fall apart since there
is no way to see they are related without a primary entry.

Fix this by always emitting a primary entry.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/vis.c