gluon-status-page-mesh-batman-adv: Save if metrics chose neighbor as own best nexthop
The commit a0800497352e ("gluon-status-page-mesh-batman-adv: Retrieve TQ of
neighbors with non-best direct link") removed the check whether a neighbor
has the BATADV_ATTR_FLAG_BEST set. But consumers may still want to filter
out or mark neighbors which don't have this flag set. To assist with such a
feature, enhance the neighbor object with an extra boolean "best" attribute
which stores whether the BATADV_ATTR_FLAG_BEST was found or not.
Reported-by:
Vincent Wiemann <webmaster@codefetch.de>
Loading
Please register or sign in to comment