conncheck: simplify the test to find a matching local candidate
authorFabrice Bellet <fabrice@bellet.info>
Mon, 20 Apr 2020 21:29:49 +0000 (23:29 +0200)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Thu, 7 May 2020 17:46:05 +0000 (17:46 +0000)
commita2fb11fc34a1cf34fad7f8def5977828ee2bc27e
tree43f2532ec3eaaac4e798b6c02dd4dd24e3b403c6
parente7b049429fc3e1d5a5ce9197d5d5c128d599e379
conncheck: simplify the test to find a matching local candidate

Since we keep a relation between a succeeded and its discovered pair, we
can just test for the socket associated to a given pair, and eventually
follow the link to the parent succeeded pair.
agent/conncheck.c