]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - mpath.c
print a header before printing the list of mesh paths
[thirdparty/iw.git] / mpath.c
diff --git a/mpath.c b/mpath.c
index 045238218bf95b944c7529f504fc6ccfc0373d8e..dba8cd2a5f19f5914e8becafb9ff99a0a48709bc 100644 (file)
--- a/mpath.c
+++ b/mpath.c
@@ -184,6 +184,8 @@ static int handle_mpath_dump(struct nl80211_state *state,
                             struct nl_msg *msg,
                             int argc, char **argv)
 {
+       printf("DEST ADDR         NEXT HOP          IFACE\tDSN\tMETRIC\tQLEN\t"
+              "EXPTIME\t\tDTIM\tDRET\tFLAGS\n");
        nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, print_mpath_handler, NULL);
        return 0;
 }