Project

General

Profile

a.diff

okkez (okkez _), 07/09/2008 12:15 PM

View differences:

lib/ipaddr.rb (working copy)
483 483
    if prefixlen
484 484
      mask!(prefixlen)
485 485
    else
486
      @mask_addr = (family == Socket::AF_INET) ? IN4MASK : IN6MASK
486
      @mask_addr = (@family == Socket::AF_INET) ? IN4MASK : IN6MASK
487 487
    end
488 488
  end
489 489