1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #5017: fix problem with mixed networks

This commit is contained in:
Javi Fontan 2017-02-10 18:54:08 +01:00
parent b8293bb6a2
commit 1b974daf27

View File

@ -114,9 +114,13 @@ module VNMNetwork
if @ip && @size
nets += VNMNetwork::to_nets(@ip, @size.to_i)
elsif @ip6_global && @size
end
if @ip6_global && @size
nets += VNMNetwork::to_nets(@ip6_global, @size.to_i)
elsif @ip6_ula && @size
end
if @ip6_ula && @size
nets += VNMNetwork::to_nets(@ip6_ula, @size.to_i)
end