flexnbd: Add --bind to flexnbd read and flexnbd write

This commit is contained in:
nick
2012-06-06 09:55:08 +01:00
parent b985e97098
commit 8a2fd06c31
6 changed files with 64 additions and 30 deletions

View File

@@ -217,7 +217,7 @@ int control_mirror(struct control_params* client, int linesc, char** lines)
return -1;
}
fd = socket_connect(&connect_to.generic);
fd = socket_connect(&connect_to.generic, NULL);
remote_size = socket_nbd_read_hello(fd);
remote_size = remote_size; // shush compiler