[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	kupcevic sourceware org	2007-02-27 15:53:15

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&r1=1.3&r2=1.4

--- cluster/fence/agents/apc/fence_apc.py	2007/02/14 15:42:26	1.3
+++ cluster/fence/agents/apc/fence_apc.py	2007/02/27 15:53:15	1.4
@@ -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):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]