summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorsr2012-08-28 19:55:38 +0200
committersr2012-08-28 19:55:38 +0200
commitb0ab6881e38f945c19970af2df549973f9c05673 (patch)
treea02d8c094e758658af991b54539194ba0d016f90 /src/client
parent[SERVER] Add missing ntohl() calls when parsing reply (diff)
downloaddnbd3-b0ab6881e38f945c19970af2df549973f9c05673.tar.gz
dnbd3-b0ab6881e38f945c19970af2df549973f9c05673.tar.xz
dnbd3-b0ab6881e38f945c19970af2df549973f9c05673.zip
[KERNEL] Add IOCTLs to add and remove servers
[KERNEL] Detect dead idle connection earlier [KERNEL] Improved debug output
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/client.c b/src/client/client.c
index 93aaeb7..bb6b81e 100644
--- a/src/client/client.c
+++ b/src/client/client.c
@@ -96,6 +96,7 @@ int main(int argc, char *argv[])
msg.port = htons(PORT);
msg.addrtype = 0;
msg.imgname = NULL;
+ msg.mode = DEVICE_MODE_CLIENT;
int opt = 0;
int longIndex = 0;