jsakamoto / ipaddressrange

.NET Class Library for range of IP address, both IPv4 and IPv6.
Mozilla Public License 2.0
370 stars 71 forks source link

Fix missing Operator creation for mask length constructor, add tests #65

Closed richardlawley closed 4 years ago

richardlawley commented 4 years ago

This PR adds in the missing Operator creation when using the mask length constructor.

I've also added a line to each of the constructor tests to verify it.

Fixes #64

jsakamoto commented 4 years ago

@richardlawley

Oops, what an elementary and terrible my mistake...! 😱

Many thanks for your contribution. 🎉 I published the fixed version 4.1.2.

So many people have been rescued by your great work! 👍