Skip to contentSkip to conversation

cluster/fence/agents/apc fence_apc.py

Cluster-devel [email protected] 1 participant 1 message Feb 27, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: kupcevic at 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

fence/agents/apc/fence_apc.py +1 -1
@@ -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):