1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix for linode using public ip blocks in 192.*

This commit is contained in:
jblancett 2013-09-18 11:33:28 -04:00
parent ac1f61d16d
commit d40c2c8096

View file

@ -19,7 +19,7 @@ module Fog
end
def public_ip_address
ips.find{|ip| ip.ip !~ /^192/}.ip
ips.find{|ip| ip.ip !~ /^192\.168\./}.ip
end
def disks