From: Rui Paulo Date: Mon, 9 Nov 2009 12:53:06 +0000 (+0000) Subject: print a header before printing the list of mesh paths X-Git-Tag: v0.9.18~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=794c1e0080e29ea6520cbb086206ab9bf97927ef;p=thirdparty%2Fiw.git print a header before printing the list of mesh paths Signed-off-by: Rui Paulo --- diff --git a/mpath.c b/mpath.c index 0452382..dba8cd2 100644 --- 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; }