public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* STABLE2 - rgmanager: Ancillary fix for rhbz #453000
@ 2008-08-22 18:07 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2008-08-22 18:07 UTC (permalink / raw)
  To: cluster-cvs-relay

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
 		


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-22 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-22 18:07 STABLE2 - rgmanager: Ancillary fix for rhbz #453000 Lon Hohberger

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).