LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: patch for nasty ldirectord bug

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: patch for nasty ldirectord bug
From: "Branko F. Gračnar" <bfg@xxxxxxxxxxxx>
Date: Thu, 26 Jan 2006 16:26:51 +0100
On Thursday 26 of January 2006 16:21, Branko F. Gračnar wrote:

> Patch:
> Trivial patch is attached.
>
> Tested versions: 1.77.2.1 2004/04/20 05:05:29, 1.129 2006/01/15 16:25:19
>
> Best regards, Brane

Well, it seems that mailing list manager ate patch file attachment, so here it 
is:

--- cut here ---

--- ldirectord.orig     2006-01-26 01:16:09.000000000 +0100
+++ ldirectord  2006-01-26 01:17:09.000000000 +0100
@@ -1475,8 +1475,8 @@
 {
        # Main failover checking code
        while (1) {
-               my @real_checked;
                foreach my $v (@VIRTUAL) {
+                       my @real_checked;
                        my $real = $$v{real};
                        my $virtual_id = get_virtual_id_str($v);


--- cut here ---

<Prev in Thread] Current Thread [Next in Thread>