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:
commit
638c93cea2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue