From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 27 Feb 2007 16:07:59 -0000 Subject: [Cluster-devel] cluster/fence/agents/apc fence_apc.py Message-ID: <20070227160759.25139.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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):