Bug #245 ยป a.diff
lib/ipaddr.rb (working copy) | ||
---|---|---|
if prefixlen
|
||
mask!(prefixlen)
|
||
else
|
||
@mask_addr = (family == Socket::AF_INET) ? IN4MASK : IN6MASK
|
||
@mask_addr = (@family == Socket::AF_INET) ? IN4MASK : IN6MASK
|
||
end
|
||
end
|
||