diff mbox

iw [PATCH] print a header before printing the list of mesh paths

Message ID 1257771187-7894-1-git-send-email-rpaulo@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Rui Paulo Nov. 9, 2009, 12:53 p.m. UTC
None
diff mbox

Patch

diff --git a/mpath.c b/mpath.c
index e848481..eb5ad6a 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;
 }