summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2026-11-18 00:32:05 +0100
committerGravatar Nikias Bassen2026-11-18 00:32:05 +0100
commitcf4b806dff1003e56b8219367bbb29cb01c3f619 (patch)
tree2d742615573966989ad2a5e4e4fca9c93204695f /.gitattributes
parent68779a6f0571a3486e329d2e55949b0eb0720af8 (diff)
downloadlibusbmuxd-cf4b806dff1003e56b8219367bbb29cb01c3f619.tar.gz
libusbmuxd-cf4b806dff1003e56b8219367bbb29cb01c3f619.tar.bz2
Convert network device address in conn_data to native sockaddr layout
usbmuxd reports the network address of a device as a BSD sockaddr ([sa_len][sa_family]...), even when it runs on a different OS than the client (e.g. macOS usbmuxd reached over TCP from Linux). libusbmuxd passed it through unchanged, so consumers casting conn_data to struct sockaddr (like libimobiledevice) got the wrong family on Linux and Windows. Convert the address when parsing it, so conn_data holds a native sockaddr for the platform the library runs on. On macOS nothing changes, on the other BSDs only the family value is adjusted. iproxy and inetcat now use conn_data directly and require this version of the library. The format is documented in usbmuxd.h.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions