public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: STABLE2 - rgmanager: Ancillary fix for rhbz #453000
Date: Fri, 22 Aug 2008 18:07:00 -0000	[thread overview]
Message-ID: <20080822180545.195241202DF@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=3d592cd8d21b3bd14587b899364686b9586a8111
Commit:        3d592cd8d21b3bd14587b899364686b9586a8111
Parent:        97b34a12441f5149ccb9d37b29b01db2cb073028
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Fri Aug 22 14:01:33 2008 -0400
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Fri Aug 22 14:05:31 2008 -0400

rgmanager: Ancillary fix for rhbz #453000

See: https://bugzilla.redhat.com/show_bug.cgi?id=453000#c6
---
 rgmanager/src/resources/ip.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/ip.sh b/rgmanager/src/resources/ip.sh
index 2e0ca03..112c5b2 100644
--- a/rgmanager/src/resources/ip.sh
+++ b/rgmanager/src/resources/ip.sh
@@ -694,7 +694,7 @@ ipv4()
 			if [ "${addr/\/*/}" != "$ifaddr" ]; then
 			        continue
 			fi
-			addr=`/sbin/ip addr list | grep "$addr/" | head -n 1 | awk '{print $2}'`
+			addr=`/sbin/ip addr list | grep "$ifaddr/" | head -n 1 | awk '{print $2}'`
 			ocf_log info "Removing IPv4 address $addr from $dev"
 		fi
 		


                 reply	other threads:[~2008-08-22 18:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080822180545.195241202DF@lists.fedorahosted.org \
    --to=lon@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).