diff options
author | Nikias Bassen | 2014-05-22 18:52:06 +0200 |
---|---|---|
committer | Martin Szulecki | 2014-05-27 12:57:06 +0200 |
commit | e72f2f79df5b72e71195fb7f27f5a0b525d05e4e (patch) | |
tree | ad8b9e990e5b847868e6cf8dd43a236f55a495c4 /src/device.c | |
parent | 2bd4d61655c2c219627c2e75475e12705453d0f6 (diff) | |
download | usbmuxd-e72f2f79df5b72e71195fb7f27f5a0b525d05e4e.tar.gz usbmuxd-e72f2f79df5b72e71195fb7f27f5a0b525d05e4e.tar.bz2 |
Use protocol version 2 by default
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
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) { |