[vpn-devel] [PATCH] ike-2.2.0-beta-1, compilation errors in ike/source/iked/ike.socket.cpp

Alexis La Goutte alexis.lagoutte at gmail.com
Wed Feb 16 05:38:36 CST 2011


Hi,

The fix is already in HEAD version

http://lists.shrew.net/pipermail/vpn-devel/2011-February/000128.html
http://lists.shrew.net/pipermail/vpn-help/2011-February/003503.html

Regards,

On Tue, Feb 15, 2011 at 5:44 PM, Giuliano <giuliano at 108.bz> wrote:

> Hello everybody,
>
>  Added "tunnel->" in front of "adapter->" in a couple of places, to
> fix compilation errors (patch below). VPN Client works nicely! I'm
> considering trying to add SonicWALL's (proprietary) DHCP over VPN
> stuff, if I'll be able to guess how it works... Anyway: thank you for
> providing such great software!
>
> ciao,
> --
> Giuliano
>
>
> *** ike.socket.cpp.orig Tue Feb  1 09:21:25 2011
> --- ike.socket.cpp      Tue Feb 15 10:24:08 2011
> ***************
> *** 722,728 ****
>                if( ioctl( sock, SIOCSIFADDR, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> address for %s ( %s )\n",
> !                               adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> --- 722,728 ----
>                if( ioctl( sock, SIOCSIFADDR, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> address for %s ( %s )\n",
> !                               tunnel->adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> ***************
> *** 737,743 ****
>                if( ioctl( sock, SIOCSIFNETMASK, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> netmask for %s ( %s )\n",
> !                               adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> --- 737,743 ----
>                if( ioctl( sock, SIOCSIFNETMASK, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> netmask for %s ( %s )\n",
> !                               tunnel->adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> ***************
> *** 754,760 ****
>                if( ioctl( sock, SIOCSIFBRDADDR, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> broadcast address
> for %s ( %s )\n",
> !                               adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> --- 754,760 ----
>                if( ioctl( sock, SIOCSIFBRDADDR, &ifr ) != 0 )
>                {
>                        log.txt( LLOG_ERROR, "!! : failed to configure
> broadcast address
> for %s ( %s )\n",
> !                               tunnel->adapter->name, strerror( errno ) );
>
>                        close( sock );
>                        return false;
> _______________________________________________
> vpn-devel mailing list
> vpn-devel at lists.shrew.net
> http://lists.shrew.net/mailman/listinfo/vpn-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-devel/attachments/20110216/1a90edca/attachment-0003.html>


More information about the vpn-devel mailing list