]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
print a header before printing the list of mesh paths
authorRui Paulo <rpaulo@gmail.com>
Mon, 9 Nov 2009 12:53:06 +0000 (12:53 +0000)
committerJohannes Berg <johannes@sipsolutions.net>
Wed, 11 Nov 2009 15:23:50 +0000 (16:23 +0100)
Signed-off-by: Rui Paulo <rpaulo@gmail.com>
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;
 }