A combined check is denoted by $v->{"checktype"} = "combined"
not $v->{"combined"} = "negotiate"

Thanks to Tuomo Soini for spotting this

Signed-off-by: Simon Horman <[EMAIL PROTECTED]>

Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in     2007-07-03 17:02:52.000000000 
+0900
+++ heartbeat/ldirectord/ldirectord.in  2007-07-03 19:01:40.000000000 +0900
@@ -3713,8 +3724,8 @@ sub get_real_id_str
                $receive = $v->{"receive"};
        }
 
-       if($v->{"checktype"} eq "negotiate" || 
-                       $v->{"combined"} eq "negotiate") {
+       if($v->{"checktype"} eq "negotiate" or
+                       $v->{"checktype"} eq "combined") {
                $check = $v->{"checktype"} . ":" . $v->{"service"};
        }
        else {

-- 

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to