From 7a2719fbf9421ee45b88bb65ef9e6718dae2ec4e Mon Sep 17 00:00:00 2001 From: Jesse Newland Date: Thu, 17 May 2012 09:40:12 -0400 Subject: [PATCH] add a method to IPAddr instead of breaking a useful one --- lib/fog/ecloud/compute.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/ecloud/compute.rb b/lib/fog/ecloud/compute.rb index 121fcdf3b..dbee9857c 100644 --- a/lib/fog/ecloud/compute.rb +++ b/lib/fog/ecloud/compute.rb @@ -2,7 +2,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'ecloud')) require 'ipaddr' class IPAddr - def mask + def mask_string _to_string(@mask_addr) end end @@ -367,7 +367,7 @@ module Fog end def netmask - self[:netmask] || subnet_ipaddr.mask + self[:netmask] || subnet_ipaddr.mask_string end def dns