From 05514f9581f66b12ac9ee0f21c770ceb34310e9d Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 19 Jul 2012 11:50:50 +0200 Subject: pass idby argument to all functions --- mpath.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mpath.c') diff --git a/mpath.c b/mpath.c index 3afe7b7..8f08698 100644 --- a/mpath.c +++ b/mpath.c @@ -99,7 +99,8 @@ static int print_mpath_handler(struct nl_msg *msg, void *arg) static int handle_mpath_get(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, - int argc, char **argv) + int argc, char **argv, + enum id_input id) { unsigned char dst[ETH_ALEN]; @@ -134,7 +135,8 @@ COMMAND(mpath, del, "", static int handle_mpath_set(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, - int argc, char **argv) + int argc, char **argv, + enum id_input id) { unsigned char dst[ETH_ALEN]; unsigned char next_hop[ETH_ALEN]; @@ -182,7 +184,8 @@ COMMAND(mpath, set, " next_hop ", static int handle_mpath_dump(struct nl80211_state *state, struct nl_cb *cb, struct nl_msg *msg, - int argc, char **argv) + int argc, char **argv, + enum id_input id) { printf("DEST ADDR NEXT HOP IFACE\tSN\tMETRIC\tQLEN\t" "EXPTIME\t\tDTIM\tDRET\tFLAGS\n"); -- cgit v1.2.3