]> git.meshlink.io Git - meshlink/commit
Avoid ports that are in use by not all address families.
authorGuus Sliepen <guus@meshlink.io>
Fri, 28 Feb 2020 19:09:11 +0000 (20:09 +0100)
committerGuus Sliepen <guus@meshlink.io>
Fri, 28 Feb 2020 19:09:11 +0000 (20:09 +0100)
commite306efba0aa513ae498b84b7f383b05365022092
tree4a3b47d4b2dd6ffb88c002c655b458f57095525a
parent1ab9403c5eb08bcb47e8e1599764b5465c79795b
Avoid ports that are in use by not all address families.

It could happen that a port is bound by another application, but only
for some of the supported address families (ie, only IPv4 but not IPv6).
We don't want MeshLink to then bind to the other address familie(s), but
rather have it try another port altogether.
src/meshlink.c