0
0
mirror of https://github.com/openwrt/routing.git synced 2025-02-22 19:16:17 +00:00
Sven Eckelmann 984bbe393c batctl: Dynamically select header format in netlink_print_neighbors
The netlink_print_neighbors() function previously used a static header
format, which did not account for variations between the neighbor list
output from different BATMAN routing algorithms (BATMAN_IV vs. BATMAN_V).

This change ensures that the table header output in `batctl n` is accurate
for both BATMAN routing algorithms.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2024-10-15 21:27:37 +02:00
..