lib/testlab/utility/cidr.rb in testlab-0.3.0 vs lib/testlab/utility/cidr.rb in testlab-0.3.1
- old
+ new
@@ -4,10 +4,10 @@
# CIDR Error Class
class CIDRError < UtilityError; end
# CIDR Module
#
- # @author Zachary Patten <zachary@jovelabs.net>
+ # @author Zachary Patten <zachary AT jovelabs DOT com>
module CIDR
CIDR_MATRIX = {
32 => { :netmask => '255.255.255.255', :broadcast => '%s.%s.%s.%s', :network => '%s.%s.%s.%s' },
31 => { :netmask => '255.255.255.254', :broadcast => '%s.%s.%s.1', :network => '%s.%s.%s.254' },