2022-04-23 16:33:03

by Diederik de Haas

[permalink] [raw]
Subject: [PATCH] iw: fix double tab in mesh path header

As reported in https://bugs.debian.org/974833, the double tab char
causes a mismatch of the header and contents after 'EXPTIME'.

Signed-off-by: Diederik de Haas <[email protected]>
---
mpath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpath.c b/mpath.c
index a88f89f..2a559c2 100644
--- a/mpath.c
+++ b/mpath.c
@@ -226,7 +226,7 @@ static int handle_mpath_dump(struct nl80211_state *state,
enum id_input id)
{
printf("DEST ADDR NEXT HOP IFACE\tSN\tMETRIC\tQLEN\t"
- "EXPTIME\t\tDTIM\tDRET\tFLAGS\tHOP_COUNT\tPATH_CHANGE\n");
+ "EXPTIME\tDTIM\tDRET\tFLAGS\tHOP_COUNT\tPATH_CHANGE\n");
register_handler(print_mpath_handler, NULL);
return 0;
}
--
2.35.2