mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
(cherry picked from commit 0774610cfc528c99b7c286cfdc109697451dea2b)
This commit is contained in:
parent
dd671bca86
commit
f781816aea
@ -550,6 +550,10 @@ module VCenterDriver
|
||||
net.ipConfig.ipAddress.each do |ip_config|
|
||||
ip = IPAddr.new(ip_config.ipAddress)
|
||||
|
||||
if ip.ipv6? && get_ipv6_prefix(ip.to_s, 10) == 'fe80'
|
||||
next
|
||||
end
|
||||
|
||||
if force
|
||||
ipv4 = ip.to_s if ip.ipv4?
|
||||
ipv6 = ip.to_s if ip.ipv6?
|
||||
|
Loading…
x
Reference in New Issue
Block a user