[Openswan dev] [Commits] [OPENSWAN.git] Changes to ref refs/heads/master

Paul Wouters paul at xelerance.com
Thu May 6 11:15:14 EDT 2010


On Wed, 5 May 2010, David McCullough wrote:

>> There is. The new code does nothing. So I do not believe whatever crasher
>> is gone. It just cannot be. I bet gcc even optimised those lines out :P
>
> I will bet you are wrong ;-) ;-)

>    # elif defined(KLIPS)
> 		// this code will not be compiled in due to #elif

Yeah that was wrong.

> I am more than happy to rejig the code to be more obvious.  Have a look at
> the attached patch (untested) and see how that grabs you.  You probably need
> to apply it to see how the resulting init_kernel looks,  I think it's
> better, but I'm not attached to it.  A table of interfaces with a "check"
> method may be more appropriate for readability.

I applied your patch, with just a change in error message if the auto-pick
fails to find a stack. Thanks!

Paul


More information about the Dev mailing list