summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-22 18:52:06 +0200
committerGravatar Martin Szulecki2014-05-27 12:57:06 +0200
commite72f2f79df5b72e71195fb7f27f5a0b525d05e4e (patch)
treead8b9e990e5b847868e6cf8dd43a236f55a495c4
parent2bd4d61655c2c219627c2e75475e12705453d0f6 (diff)
downloadusbmuxd-e72f2f79df5b72e71195fb7f27f5a0b525d05e4e.tar.gz
usbmuxd-e72f2f79df5b72e71195fb7f27f5a0b525d05e4e.tar.bz2
Use protocol version 2 by default
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index bb12310..9f45ea9 100644
--- a/src/device.c
+++ b/src/device.c
@@ -808,7 +808,7 @@ int device_add(struct usb_device *usbdev)
dev->preflight_cb_data = NULL;
dev->version = 0;
struct version_header vh;
- vh.major = htonl(1);
+ vh.major = htonl(2);
vh.minor = htonl(0);
vh.padding = 0;
if((res = send_packet(dev, MUX_PROTO_VERSION, &vh, NULL, 0)) < 0) {