ipnetwork icon indicating copy to clipboard operation
ipnetwork copied to clipboard

[Change suggestion] Resetting the device bits to 0 when initiating new objects

Open digizeph opened this issue 3 years ago • 0 comments

When creating an IP network, the network address's device bits should be resets to zero and then save into the struct.

For example, I believe the following two networks should be considered the same: 8.8.8.0/24 and 8.8.8.1/24. But when the resulting IpNetwork are different, and the to_string results are also different.

digizeph avatar Jan 24 '22 01:01 digizeph