[Cluster-devel] cluster/fence/agents/apc fence_apc.py

kupcevic at sourceware.org kupcevic at sourceware.org
Tue Feb 27 16:07:59 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	kupcevic at sourceware.org	2007-02-27 16:07:59

Modified files:
	fence/agents/apc: fence_apc.py 

Log message:
	Fix for bz230134 (can't fence port 1:1 with fence_apc)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/apc/fence_apc.py.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.2&r2=1.1.2.3

--- cluster/fence/agents/apc/fence_apc.py	2007/02/14 17:03:01	1.1.2.2
+++ cluster/fence/agents/apc/fence_apc.py	2007/02/27 16:07:59	1.1.2.3
@@ -718,7 +718,7 @@
       for l in ls:
         words = l.strip().split()
         if len(words) > 3:
-          if words[3].strip() == portval:
+          if '----' not in words[0] and words[3].strip() == portval:
             outlet_str = words[0]
             dex = outlet_str.find("-")
             if dex <= (0):




More information about the Cluster-devel mailing list