achanda / ipnetwork

A library to work with CIDRs in rust
Apache License 2.0
121 stars 38 forks source link

Iterator #108

Closed vorner closed 4 years ago

vorner commented 4 years ago

This closes #105.

It also fixes a bug I've discovered on the way, if the network was at the high end of the possible range, there was an overflow happening (which would either panic in debug mode or produce wrong results in release).