[Ovirt-devel] [PATCH server] small bugfix compare macs correctly in host-browser
Mohammed Morsi
mmorsi at redhat.com
Tue Mar 31 19:05:25 UTC 2009
---
src/host-browser/host-browser.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/host-browser/host-browser.rb b/src/host-browser/host-browser.rb
index 1c5cf83..1f9e7d2 100755
--- a/src/host-browser/host-browser.rb
+++ b/src/host-browser/host-browser.rb
@@ -278,7 +278,7 @@ class HostBrowser
nic_info.collect do |detail|
# if we have a match, then update the database and remove
# the received data to avoid creating a dupe later
- if detail['MAC'] == nic.mac
+ if detail['MAC'].upcase == nic.mac
nic_info.delete(detail)
updated_nic = Nic.find_by_id(nic.id)
--
1.6.0.6
More information about the ovirt-devel
mailing list