mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Convert port to big endian
This commit is contained in:
@@ -194,6 +194,7 @@ impl UsbmuxdConnection {
|
|||||||
label: impl Into<String>,
|
label: impl Into<String>,
|
||||||
) -> Result<Idevice, IdeviceError> {
|
) -> Result<Idevice, IdeviceError> {
|
||||||
debug!("Connecting to device {device_id} on port {port}");
|
debug!("Connecting to device {device_id} on port {port}");
|
||||||
|
let port = port.to_be();
|
||||||
|
|
||||||
let mut req = plist::Dictionary::new();
|
let mut req = plist::Dictionary::new();
|
||||||
req.insert("MessageType".into(), "Connect".into());
|
req.insert("MessageType".into(), "Connect".into());
|
||||||
|
|||||||
Reference in New Issue
Block a user