Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
The helper should now also work for loopback addresses and prefer any initially
supplied scope id to maintain routing information if possible. Otherwise it
just picks the best suitable route. Let us see if this is stable enough to
prevent us from adding routing table parsing cruft and other logic...
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|