socket: Fix IPv6 scope id lookup logic to handle another network device problem

The lookup logic preferred to return the last suitable scope id match.
This became a problem if there was already a suitable scope id match before
that was higher in the interface list. This now chooses the higher last
scope id interface match and thus probably in the routing preference.
1 file changed
tree: 1624e44211b2d4aac2c3d996cd4da468fb670c21
  1. common/
  2. cython/
  3. docs/
  4. include/
  5. m4/
  6. src/
  7. tools/
  8. .gitignore
  9. AUTHORS
  10. autogen.sh
  11. configure.ac
  12. COPYING
  13. COPYING.LESSER
  14. doxygen.cfg.in
  15. Makefile.am
  16. NEWS
  17. README.md
README.md

libimobiledevice

About

A library to communicate with services of Apple iOS devices using native protocols.

Requirements

Development Packages of:

  • OpenSSL or GnuTLS
  • libplist
  • libusbmuxd

Software:

  • usbmuxd (OSS or Apple's version)
  • make
  • autoheader
  • automake
  • autoconf
  • libtool
  • pkg-config
  • gcc or clang

Optional:

  • cython (Python bindings)
  • doxygen (Documentation)

Installation

To compile run:

./autogen.sh
make
sudo make install

If you require a custom prefix or other option being passed to ./configure you can pass them directly to ./autogen.sh like this:

./autogen.sh --prefix=/opt/local --enable-debug-code
make
sudo make install

By default, OpenSSL will be used. If you prefer GnuTLS, configure with --disable-openssl like this:

./autogen.sh --disable-openssl

Who/What/Where?

Credits

Apple, iPhone, iPod, and iPod Touch are trademarks of Apple Inc.

libimobiledevice is an independent software library and has not been authorized, sponsored, or otherwise approved by Apple Inc.

README Updated on: 2020-06-08