summaryrefslogtreecommitdiffstats
path: root/include/endianness.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-06 02:23:18 +0200
committerGravatar Martin Szulecki2020-06-06 02:23:18 +0200
commit4059a8c27fc0dd6a2102809002eedf09dfc9d1f2 (patch)
treeebe83daf110b926ef9ea073d69f4cbecb7e575ac /include/endianness.h
parent87790aa844a1907812f5a6a170e8d42a1b728c59 (diff)
downloadlibimobiledevice-4059a8c27fc0dd6a2102809002eedf09dfc9d1f2.tar.gz
libimobiledevice-4059a8c27fc0dd6a2102809002eedf09dfc9d1f2.tar.bz2
common: Fix socket_connect_addr() not connecting using IPv6 in some cases
This extends the socket helper with functions to determine the "scope" and a suitable "scope id" of an IPv6 address. Now socket_connect_addr() does not trust the provided IPv6 "scope id" and always attempts to determine it using the new helpers. This became a requirement during testing with remote usbmux connections that provide a different "scope id" and thus might cause IPv6 routing to not work at all. Thus the "scope id" is only valid per host.
Diffstat (limited to 'include/endianness.h')
0 files changed, 0 insertions, 0 deletions