chiark / gitweb /
site: transport peers: Delete or demote unsuitable peers addresses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Jun 2014 14:32:19 +0000 (15:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Oct 2014 15:30:19 +0000 (16:30 +0100)
commitad4dcae4482c06b92f350f993390712e49a9d693
tree23465debd830c25f01cdd613935280c9ede916a3
parent22b31fbe5bcb4b464e897496d57a1bddb1b9c319
site: transport peers: Delete or demote unsuitable peers addresses

If comm signals that the address is unuseable (ie we have no IPv4 or
IPv6 interface or routing), delete the address.  Or, if we are mobile,
demote it to the end of the list (since we might gain appropriate
routing in the future).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c