commit | 3aa3ceeb5c93f05e50d13a0e8f374843e6cb8ec5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Jan 24 18:56:56 2014 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jan 24 18:56:56 2014 -0800 |
tree | 5b032b37774ce52bf7712859da419c001808d980 | |
parent | ecad55e9baebeb2a69a8e3661a9f58ff2e6224c8 [diff] [blame] |
client/server: don't reset ipv6 expectations fio_server_parse_host() no longer falls back to ipv4, so just pass in the actual value, not a reference. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/client.c b/client.c index 7975ce6..467d093 100644 --- a/client.c +++ b/client.c
@@ -238,7 +238,7 @@ int ipv6; ipv6 = type == Fio_client_ipv6; - if (fio_server_parse_host(hostname, &ipv6, + if (fio_server_parse_host(hostname, ipv6, &client->addr.sin_addr, &client->addr6.sin6_addr)) goto err;