* keepalived-0.6.10 released.
* Fixed a faked flag during VRRP VIP set. Updated the IP address set flag to reflect
netlink return code.
* Fixed an autoconf issue during selection of VRRP framework.
+2002-08-05 Alexandre Cassen <acassen@linux-vs.org>
+ * keepalived-0.6.10 released.
+ * Fixed a faked flag during VRRP VIP set. Updated the IP address set flag to reflect
+ netlink return code.
+ * Fixed an autoconf issue during selection of VRRP framework.
+
2002-07-31 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-0.6.9 released.
* Fixe some code dependence selection during compilation. If autoconf netlink
{ echo "configure: error: keepalived MUST be compiled at least with LVS or VRRP framework" 1>&2; exit 1; }
fi
+VRRP_SUPPORT="_WITHOUT_VRRP_"
if test "$enable_vrrp" != "no"; then
echo $ac_n "checking for kernel netlink support""... $ac_c" 1>&6
-echo "configure:1622: checking for kernel netlink support" >&5
+echo "configure:1623: checking for kernel netlink support" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""no" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1629 "configure"
+#line 1630 "configure"
#include "confdefs.h"
#include <asm/types.h>
exit(0);
}
EOF
-if { (eval echo configure:1643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6
IPVS_SYNCD="_WITHOUT_IPVS_SYNCD_"
if test "$IPVS_SUPPORT" = "_WITH_LVS_"; then
echo $ac_n "checking for LVS syncd support""... $ac_c" 1>&6
-echo "configure:1686: checking for LVS syncd support" >&5
+echo "configure:1687: checking for LVS syncd support" >&5
if test "$IPVS_MAJOR" -ge 1 -a "$KERN" = "_KRNL_2_4_"; then
IPVS_SYNCD="_HAVE_IPVS_SYNCD_"
elif test "$IPVS_MINOR" -ge 9 -a "$IPVS_PATCH" -ge 2 -a "$KERN" = "_KRNL_2_4_"; then
echo $ac_n "checking for working const""... $ac_c" 1>&6
-echo "configure:1709: checking for working const" >&5
+echo "configure:1710: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1714 "configure"
+#line 1715 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:1763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
fi
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:1784: checking for pid_t" >&5
+echo "configure:1785: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1789 "configure"
+#line 1790 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
-echo "configure:1817: checking whether time.h and sys/time.h may both be included" >&5
+echo "configure:1818: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1822 "configure"
+#line 1823 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
struct tm *tp;
; return 0; }
EOF
-if { (eval echo configure:1831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
-echo "configure:1854: checking whether ${CC-cc} needs -traditional" >&5
+echo "configure:1855: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <<EOF
-#line 1860 "configure"
+#line 1861 "configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <<EOF
-#line 1878 "configure"
+#line 1879 "configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
-echo "configure:1900: checking return type of signal handlers" >&5
+echo "configure:1901: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1905 "configure"
+#line 1906 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
int i;
; return 0; }
EOF
-if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
for ac_func in gettimeofday select socket strerror strtol uname
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:1943: checking for $ac_func" >&5
+echo "configure:1944: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1948 "configure"
+#line 1949 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
dnl ----[ Checks for kernel netlink support ]----
+VRRP_SUPPORT="_WITHOUT_VRRP_"
if test "$enable_vrrp" != "no"; then
AC_MSG_CHECKING([for kernel netlink support])
AC_TRY_RUN([
Summary: Generic HA monitor build upon VRRP and services poller, strongly recommanded for LVS HA.
Name: keepalived
Packager: Christophe Varoqui, <christophe.varoqui@free.fr>
-Version: 0.6.9
+Version: 0.6.10
Release: 1
-Source: http://www.keepalived.org/software/keepalived-0.6.9.tar.gz
+Source: http://www.keepalived.org/software/keepalived-0.6.10.tar.gz
Copyright: GPL
Group: Utilities/File
BuildRoot: /tmp/%{name}-%{version}.build
%prep
rm -rf %{buildroot}
-%setup -n keepalived-0.6.9
+%setup -n keepalived-0.6.10
%build
./configure --prefix=%{buildroot} --exec-prefix=%{buildroot} --sysconfdir=%{buildroot}/etc
*
* Part: Main program structure.
*
- * Version: $Id: main.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: main.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Dynamic data structure definition.
*
- * Version: $Id: data.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: data.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* Part: Layer4 checkers handling. Register worker threads &
* upper layer checkers.
*
- * Version: $Id: layer4.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: layer4.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: List structure manipulation.
*
- * Version: $Id: list.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: list.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Main program structure.
*
- * Version: $Id: main.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: main.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* Part: Memory management framework. This framework is used to
* find any memory leak.
*
- * Version: $Id: memory.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: memory.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
* data structure representation the conf file representing
* the loadbalanced server pool.
*
- * Version: $Id: parser.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: parser.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: pidfile utility.
*
- * Version: $Id: pidfile.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: pidfile.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* the thread management routine (thread.c) present in the
* very nice zebra project (http://www.zebra.org).
*
- * Version: $Id: scheduler.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: scheduler.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* using the smtp protocol according to the RFC 821. A non blocking
* timeouted connection is used to handle smtp protocol.
*
- * Version: $Id: smtp.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: smtp.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Timer manipulations.
*
- * Version: $Id: timer.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: timer.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: General program utils.
*
- * Version: $Id: utils.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: utils.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Vector structure manipulation.
*
- * Version: $Id: vector.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vector.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Checkers registration.
*
- * Version: $Id: check_api.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_api.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: CI-LINUX checker. Integration to Compaq Cluster Infrastructure.
*
- * Version: $Id: check_ci.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_ci.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Aneesh Kumar K.V, <aneesh.kumar@digital.com>
*
* Part: WEB CHECK. Common HTTP/SSL checker primitives.
*
- * Version: $Id: check_http.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_http.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
* Part: MISC CHECK. Perform a system call to run an extra
* system prog or script.
*
- * Version: $Id: check_misc.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_misc.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Eric Jarman, <ehj38230@cmsu2.cmsu.edu>
* url, compute a MD5 over this result and match it to the
* expected value.
*
- * Version: $Id: check_ssl.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_ssl.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
*
* Part: TCP checker.
*
- * Version: $Id: check_tcp.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_tcp.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* library to add/remove server MASQ rules to the kernel
* firewall framework.
*
- * Version: $Id: ipfwwrapper.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: ipfwwrapper.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* Part: IPVS Kernel wrapper. Use setsockopt call to add/remove
* server to/from the loadbalanced server pool.
*
- * Version: $Id: ipvswrapper.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: ipvswrapper.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Manipulation functions for IPVS & IPFW wrappers.
*
- * Version: $id: ipwrapper.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $id: ipwrapper.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Checkers arguments structures definitions.
*
- * Version: $Id: check_api.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_api.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: check_ci.c include file.
*
- * Version: $Id: check_ci.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_ci.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Aneesh Kumar K.V, <aneesh.kumar@digital.com>
*
* Part: check_http.c include file.
*
- * Version: $Id: check_http.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_http.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
*
* Part: check_misc.c include file.
*
- * Version: $Id: check_misc.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_misc.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
* Eric Jarman, <ehj38230@cmsu2.cmsu.edu>
*
* Part: check_http.c include file.
*
- * Version: $Id: check_http.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_http.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
*
* Part: check_tcp.c include file.
*
- * Version: $Id: check_tcp.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: check_tcp.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Daemon process handling.
*
- * Version: $Id: daemon.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: daemon.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Dynamic data structure definition.
*
- * Version: $Id: data.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: data.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: ipfwwrapper.c include file.
*
- * Version: $Id: ipfwwrapper.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: ipfwwrapper.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: ipvswrapper.c include file.
*
- * Version: $Id: ipvswrapper.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: ipvswrapper.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: ipwrapper.c include file.
*
- * Version: $Id: ipwrapper.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: ipwrapper.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: layer4.c include file.
*
- * Version: $Id: layer4.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: layer4.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: list.c include file.
*
- * Version: $Id: list.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: list.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Main program include file.
*
- * Version: $Id: main.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: main.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
/* Build version */
#define PROG "Keepalived"
-#define VERSION_CODE 0x000609
-#define DATE_CODE 0x010802
+#define VERSION_CODE 0x00060a
+#define DATE_CODE 0x050802
#define KEEPALIVED_VERSION(version) \
(version >> 16) & 0xFF, \
*
* Part: memory.c include file.
*
- * Version: $Id: memory.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: memory.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Authors: Alexandre Cassen, <acassen@linux-vs.org>
* Jan Holmberg, <jan@artech.net>
*
* Part: cfreader.c include file.
*
- * Version: $Id: parser.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: parser.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: pidfile.c include file.
*
- * Version: $Id: pidfile.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: pidfile.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: scheduler.c include file.
*
- * Version: $Id: scheduler.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: scheduler.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: smtp.c include file.
*
- * Version: $Id: smtp.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: smtp.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: timer.c include file.
*
- * Version: $Id: timer.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: timer.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: utils.h include file.
*
- * Version: $Id: utils.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: utils.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vector.c include file.
*
- * Version: $Id: vector.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vector.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp.c program include file.
*
- * Version: $Id: vrrp.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_if.c include file.
*
- * Version: $Id: vrrp_if.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_if.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_ipaddress.c include file.
*
- * Version: $Id: vrrp_ipaddress.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_ipaddress.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_ipsecah.c include file.
*
- * Version: $Id: vrrp_ipsecah.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_ipsecah.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_netlink.c include file.
*
- * Version: $Id: vrrp_netlink.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_netlink.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_notify.c include file.
*
- * Version: $Id: vrrp_notify.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_notify.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_scheduler.c include file.
*
- * Version: $Id: vrrp_scheduler.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_scheduler.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: vrrp_sync.c include file.
*
- * Version: $Id: vrrp_sync.h,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_sync.h,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
--- /dev/null
+# Generated automatically from Makefile.in by configure.
+# Makefile
+#
+# Keepalived OpenSource project.
+#
+# Copyright (C) 2001, 2002 Alexandre Cassen, <acassen@linux-vs.org>
+
+CC = gcc
+INCLUDES = -I../include
+CFLAGS = -g -O2 -I/usr/src/linux/include $(INCLUDES) \
+ -Wall -Wunused -Wstrict-prototypes
+DEFS = -D_KRNL_2_4_ -D_WITH_LVS_ -D_WITHOUT_IPVS_SYNCD_
+COMPILE = $(CC) $(CFLAGS) $(DEFS)
+
+OBJS = vrrp.o vrrp_notify.o vrrp_scheduler.o vrrp_sync.o \
+ vrrp_netlink.o vrrp_if.o vrrp_ipaddress.o vrrp_ipsecah.o
+HEADERS = $(OBJS:.o=.h)
+
+.c.o:
+ $(COMPILE) -c $<
+
+all: $(OBJS)
+
+clean:
+ rm -f *.a *.o *~
+
+distclean: clean
+ rm -f Makefile
+
+vrrp.o: vrrp.c ../include/vrrp.h ../include/vrrp_scheduler.h \
+ ../include/vrrp_notify.h ../include/ipvswrapper.h ../include/memory.h \
+ ../include/list.h ../include/data.h
+vrrp_notify.o: vrrp_notify.c ../include/vrrp_notify.h ../include/memory.h
+vrrp_scheduler.o: vrrp_scheduler.c ../include/vrrp_scheduler.h \
+ ../include/vrrp_ipsecah.h ../include/vrrp_if.h ../include/vrrp.h \
+ ../include/vrrp_sync.h ../include/vrrp_notify.h ../include/ipvswrapper.h \
+ ../include/memory.h ../include/list.h ../include/data.h ../include/smtp.h
+vrrp_sync.o: vrrp_sync.c ../include/vrrp_sync.h ../include/vrrp_if.h \
+ ../include/vrrp_notify.h ../include/data.h
+vrrp_netlink.o: vrrp_netlink.c ../include/vrrp_netlink.h ../include/check_api.h \
+ ../include/vrrp_if.h ../include/memory.h ../include/scheduler.h \
+ ../include/utils.h
+vrrp_if.o: vrrp_if.c ../include/vrrp_if.h ../include/vrrp_netlink.h \
+ ../include/scheduler.h ../include/data.h ../include/memory.h \
+ ../include/utils.h
+vrrp_ipaddress.o: vrrp_ipaddress.c ../include/vrrp_ipaddress.h \
+ ../include/vrrp_netlink.h ../include/utils.h
+vrrp_ipsecah.o: vrrp_ipsecah.c ../include/vrrp_ipsecah.h
* master fails, a backup server takes over.
* The original implementation has been made by jerome etienne.
*
- * Version: $Id: vrrp.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
}
}
} else {
- vadd->set = 1;
+ vadd->set = (cmd == VRRP_IPADDRESS_ADD) ? 1 : 0;
}
}
return err;
*
* Part: Interfaces manipulation.
*
- * Version: $Id: vrrp_if.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_if.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: NETLINK IPv4 address manipulation.
*
- * Version: $Id: vrrp_ipaddress.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_ipaddress.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
* authentication data encryption using HMAC MD5 according to
* RFCs 2085 & 2104.
*
- * Version: $Id: vrrp_ipsecah.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_ipsecah.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: NETLINK kernel command channel.
*
- * Version: $Id: vrrp_netlink.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_netlink.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: VRRP state transition notification scripts handling.
*
- * Version: $Id: vrrp_notify.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_notify.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: Sheduling framework for vrrp code.
*
- * Version: $Id: vrrp_scheduler.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_scheduler.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*
*
* Part: VRRP synchronization framework.
*
- * Version: $Id: vrrp_sync.c,v 0.6.9 2002/07/31 01:33:12 acassen Exp $
+ * Version: $Id: vrrp_sync.c,v 0.6.10 2002/08/06 02:18:05 acassen Exp $
*
* Author: Alexandre Cassen, <acassen@linux-vs.org>
*