]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: fix double tab in mesh path header
authorDiederik de Haas <didi.debian@cknow.org>
Sat, 23 Apr 2022 16:09:22 +0000 (18:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 May 2022 09:37:13 +0000 (11:37 +0200)
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 <didi.debian@cknow.org>
Link: https://lore.kernel.org/r/20220423160922.14952-1-didi.debian@cknow.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
mpath.c

diff --git a/mpath.c b/mpath.c
index a88f89faa3f871561eb557c429f2ea365c366b16..2a559c293cc0db2b74358106cfd4f704bacae4df 100644 (file)
--- 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;
 }