Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #907 from jnewland/dont_monkey_patch_ipaddr

add a method to IPAddr instead of breaking a useful one
  • Loading branch information...
commit 3f8d1b4c9063470aa9353d8d1d30e432095728a3 2 parents 9e37160 + 7a2719f
@dylanegan dylanegan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fog/ecloud/compute.rb
View
4 lib/fog/ecloud/compute.rb
@@ -2,7 +2,7 @@
require 'ipaddr'
class IPAddr
- def mask
+ def mask_string
_to_string(@mask_addr)
end
end
@@ -367,7 +367,7 @@ def gateway
end
def netmask
- self[:netmask] || subnet_ipaddr.mask
+ self[:netmask] || subnet_ipaddr.mask_string
end
def dns
Please sign in to comment.
Something went wrong with that request. Please try again.