[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Thu Sep 24 14:28:29 UTC 2020

New commits:
commit d106052012c6a7b7a5d65e25e9c9fe0c32e34c1d
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Sep 23 19:36:49 2020 -0400

    connections: call update_ends_from_this_host_addr() from connection_check_ddns1()
    Replace "a small bit of code from default_end to fixup the end point".
    Except, once .host_port code is included, there are now three small
    bits of code.  Hmm, enemy action.
    A likely reason for not using default_end() was that, instead of
    propagating the updated [remote] .host_addr into the peer's [local]
    .host_nexthop, it did the reverse.  update_ends_from_this_host_addr(),
    which replaced default_end(), reversing this polarity.
    Remove (again) code updating .host_port in extract_end() - it doesn't
    have complete information, and ends up setting the port on the %any

More information about the Swan-commit mailing list