]> 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)
commitf17ed70aa213316edd42596e1098195c09cd9344
tree08c96dbb5baf1c6e1f92e6c327a6fe2c43ebf203
parent2d83246b30017b4766fbcec3b070e59b66c97410
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