STABLE2 - rgmanager: Ancillary fix for rhbz #453000
Lon Hohberger
lon@fedoraproject.org
Fri Aug 22 18:07:00 GMT 2008
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
More information about the Cluster-cvs
mailing list