summaryrefslogtreecommitdiffstats
path: root/include/usbmuxd.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-07 02:21:01 +0200
committerGravatar Nikias Bassen2020-06-07 11:34:14 +0200
commitee02dea462326879e9cf3293cd31172c25335be3 (patch)
tree5bfeee3b4f5b0735099b06cc2e4d731a11862783 /include/usbmuxd.h
parent033202c9b1df142139358edec77709aa9ede4f16 (diff)
downloadlibusbmuxd-ee02dea462326879e9cf3293cd31172c25335be3.tar.gz
libusbmuxd-ee02dea462326879e9cf3293cd31172c25335be3.tar.bz2
socket: 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. While socket_connect_addr() prefers any initially supplied "scope id" to maintain routing information if possible, it will attempt to determine the best suitable route with 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/usbmuxd.h')
0 files changed, 0 insertions, 0 deletions