[Swan-commit] Changes to ref refs/heads/main
cagney at vault.libreswan.fi
Wed Dec 30 16:53:40 UTC 2020
Author: Andrew Cagney <cagney at gnu.org>
Date: Wed Dec 30 11:41:16 2020 -0500
ip: restore debug log in endpoint_eq()
Add the comment:
XXX: note the <<#if 0 pendpoint()>> sprinkled all over this file.
There is (was?) code lurking in pluto that does not initialize the
ip_endpoint's .iproto field. For instance by assigning an ip_address
to an ip_endpoint (the two are still compatible).
This dbg() line is one step towards tracking these cases down.
(If the intent is for some sort of wildcard match then either
ip_selector or ip_subnet can be used.)
More information about the Swan-commit