diff options
author | Martin Szulecki | 2020-06-06 02:23:18 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-06 02:23:18 +0200 |
commit | 4059a8c27fc0dd6a2102809002eedf09dfc9d1f2 (patch) | |
tree | ebe83daf110b926ef9ea073d69f4cbecb7e575ac /src/house_arrest.c | |
parent | 87790aa844a1907812f5a6a170e8d42a1b728c59 (diff) | |
download | libimobiledevice-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 'src/house_arrest.c')
0 files changed, 0 insertions, 0 deletions