feature #3532: fix bug with ruby 1.8

This commit is contained in:
Javi Fontan committed 2015-03-23 12:50:29 +01:00
1 parent 21bee73dc3
commit 6d747c7aac
1 file changed
+4 -4
+4 -4
View File
@@ -340,10 +340,10 @@ module KVM
"/domain/devices/interface[@type='bridge']") do |i|
mac = REXML::XPath.first(i, '//interface/mac').
attributes['address']
bridge = REXML::XPath.first(i, '//interface/source')
.attributes['bridge']
model = REXML::XPath.first(i, '//interface/model')
.attributes['type']
bridge = REXML::XPath.first(i, '//interface/source').
attributes['bridge']
model = REXML::XPath.first(i, '//interface/model').
attributes['type']
interfaces << {
:mac => mac,