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

Merge pull request #2153 from jblancett/master

fix for linode using public ip blocks in 192.*
This commit is contained in:
Wesley Beary 2013-09-18 14:12:08 -07:00
commit 638c93cea2

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