-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Not sure if it is intended behaviour, but IPAddr.new('10.0.0.0/16') == IPAddr.new('10.0.0.0/8') is true, when these are not the same network. The test should be
def ==(value)
@addr == value.addr && @mask_addr == value.mask_addr
end
Which also means adding
attr_reader :addr
attr_reader :mask_addr
Metadata
Metadata
Assignees
Labels
No labels