summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-10 11:55:54 +0100
committerJiri Pirko <jiri@mellanox.com>2016-03-10 12:13:39 +0100
commit9be7e45d57d7c65d01c15819df0e864b25275dbe (patch)
tree84417ce2b469b2617601e4c89ede332043460f00 /utils
parentd0ea3eccf42e4cec59b057474f844fc4f616d4de (diff)
downloadlibndp-9be7e45d57d7c65d01c15819df0e864b25275dbe.tar.gz
libndp: revert API change for ndp_msg_send() and add ndp_msg_send_with_flags()
Fixes: cb1ab5fc8b ("libndp: add option flags to send messages") Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/ndptool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ndptool.c b/utils/ndptool.c
index 2639f81..1d96f4c 100644
--- a/utils/ndptool.c
+++ b/utils/ndptool.c
@@ -344,7 +344,7 @@ static int run_cmd_send(struct ndp *ndp, enum ndp_msg_type msg_type,
}
ndp_msg_ifindex_set(msg, ifindex);
- err = ndp_msg_send(ndp, msg, flags);
+ err = ndp_msg_send_with_flags(ndp, msg, flags);
if (err) {
pr_err("Failed to send message\n");
goto msg_destroy;