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