Skip to content

Commit

Permalink
F OpenNebula#3263: fix bug with mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Huertas committed May 31, 2019
1 parent 3597951 commit c43b0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onedb/fsck/network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def calculate_leases(address_range, oid, addrs, p_vnet, p_ar)
address_range.at_xpath('SIZE').text.to_i.times do |index|
lease = get_lease(oid, addrs[:mac], addrs[:ip], addrs[:ipv6], index)

counters[:vnet][p_vnet][:ar_leases][p_ar][mac] = lease
counters[:vnet][p_vnet][:ar_leases][p_ar][addrs[:mac]] = lease
end
end

Expand Down

0 comments on commit c43b0aa

Please sign in to comment.