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)
commit981d8900291108eebf187fd77736f751e99b6ffd
tree5a32475dd3be14bfa96a06366d3cf17066dc676d
parentde4594a51c904ddcd6c3a6cdd100f7c1d94d3239
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