]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Mark best gateway in transtable_global debugfs
authorSven Eckelmann <sven@narfation.org>
Sun, 7 Oct 2012 11:34:15 +0000 (13:34 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 21 Nov 2012 11:34:48 +0000 (12:34 +0100)
commit4ddbcda41d1702a4f39c37a25ab0f14aad956c3c
tree5a32475dd3be14bfa96a06366d3cf17066dc676d
parent3945def9257055316085fe1357dc49fdb834c988
batman-adv: Mark best gateway in transtable_global debugfs

The transtable_global debug file can show multiple entries for a single client
when multiple gateways exist. The chosen gateway isn't marked in the list and
therefore the user cannot easily debug the situation when there is a problem
with the currently used gateway.

The best gateway is now marked with "*" and secondary gateways are marked with
"+".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/translation-table.c