[Openswan dev] find_host_connection2

Paul Wouters paul at xelerance.com
Sun Jul 5 23:00:11 EDT 2009


On Sun, 5 Jul 2009, D. Hugh Redelmeier wrote:

> I was trying to understand the code for find_host_connection2 in
> programs/pluto/connections.c.  I'm looking in the version in openswan
> 2.6.22.
>
> It looks to me that the code could be simplified.  Look at the
> enclosed diff.

Thanks for the diff. I've queued it up on the bug tracke. I want to try
this patch later once we have a good run of the uml testcases again, just
to confirm nothing breaks. The find_host_connection* functions are
sufficiantly voodoo for me to think twice before changing a single thing
in there.

Paul


More information about the Dev mailing list