1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

B #3320: Get ip when multiple ARs (#3321)

This commit is contained in:
sergiojvg 2019-05-09 05:33:58 -05:00 committed by Tino Vázquez
parent 2e13e8eb53
commit 0e7457bfae

View File

@ -403,6 +403,7 @@ class Template
ar_array = network.to_hash['VNET']['AR_POOL']['AR']
ar_array = [ar_array] if ar_array.is_a?(Hash)
ipv4, ipv6 = find_ip_in_ar(ip, ar_array) if ar_array
break if ipv4 !="" or ipv6 != ""
end
break
end