[prev in list] [next in list] [prev in thread] [next in thread] 

List:       keepalived-devel
Subject:    [Keepalived-devel] Keepalive RHES 4
From:       Lucas de Souza Santos <lucas.santos () corp ! orolix ! com>
Date:       2006-03-27 13:25:47
Message-ID: 1143465947.17640.24.camel () localhost ! localdomain
[Download RAW message or body]

Hi,

I'm very newbie with keepalive, but last friday I had to upgrade the
keepalived in two Red Hat Enterprise Servers and I tried, many times and
ways, to compile without success. So I decided to take a look at the
source code and then I found the problem at line 211 at the
keepalived/check/ipvswrapper.c file.

I just remove this line and everything compilied.

The code at this line is

        urule->syncid = syncid;

The syncid variable appears to be avaible just at the kernel 2.6 series
but this piece of code is in kernel 2.4 session code.

Please, if I'm wrong can someone explain this issue?

Thanks,


--- keepalived-1.1.12/keepalived/check/ipvswrapper.c    2006-03-09
10:39:23.000000000 -0300
+++ keepalived-1.1.12.new/keepalived/check/ipvswrapper.c
2006-03-27 10:07:01.000000000 -0300
@@ -208,7 +208,6 @@

        /* prepare user rule */
        urule->state = state;
-       urule->syncid = syncid;
        if (ifname != NULL)
                strncpy(urule->mcast_ifn, ifname, IP_VS_IFNAME_MAXLEN);






-- 
Lucas de Souza Santos - 7F8050A6 @ http://subkeys.pgp.net

["signature.asc" (application/pgp-signature)]
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Keepalived-devel mailing list
Keepalived-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/keepalived-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic