[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Wed Jun 19 13:19:55 UTC 2019
New commits:
commit 15e86d22abb99c6f23f34335f98a55238a0312ab
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Jun 18 09:43:29 2019 -0400
connections: drop host_pair's host_port_specific field and port parameters
Since the field .host_port_specific is never set (i.e., always false)
the port check in:
sameaddr(&p->him.addr, myaddr) &&
(!p->him.host_port_specific || p->him.host_port == hisport)
is always true.
Drop the field and parameters. While we're at it, replace {me,him}
with local and remote endpoints and use str_endpoint().
Add XXX: comment to the two places (not even in hostpair.[hc]) where
the port is used.
More information about the Swan-commit
mailing list