net engine: don't pass in flags
[fio.git] / engines / net.c
index fd01089caa8cbc6eda75ec676225447dc4293ac8..afb3265c6ada813179fa12853ec121d6632ab378 100644 (file)
@@ -231,7 +231,7 @@ static int fio_netio_send(struct thread_data *td, struct io_u *io_u)
 
        if (nd->net_protocol == IPPROTO_UDP) {
                return sendto(io_u->file->fd, io_u->xfer_buf, io_u->xfer_buflen,
-                               flags, &nd->addr, sizeof(nd->addr));
+                               0, &nd->addr, sizeof(nd->addr));
        } else {
                return send(io_u->file->fd, io_u->xfer_buf, io_u->xfer_buflen,
                                flags);