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.
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
and8.8.8.1/24
. But when the resulting IpNetwork are different, and theto_string
results are also different.