chiark / gitweb /
site: Make transport_record_peers cope with multiple addresses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Jun 2014 16:11:07 +0000 (17:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Oct 2014 15:30:19 +0000 (16:30 +0100)
commit2ca9a1b7bc10d8d84f3b6227160cf7329aacbd9b
treeee7d6a40b49e9524c501a1eb18ae7519de23772a
parentad4dcae4482c06b92f350f993390712e49a9d693
site: Make transport_record_peers cope with multiple addresses

This is a complete rewrite of this function.  The semantics are
similar to before, except that it copes with multiple addresses at
once, and ensures that they arrive, in order, at the front of the
array.  It now needs its caller to call transport_peers_expire.

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