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

Error if parsing IP address with scope id in the end. #32

Closed wolgasster closed 6 years ago

wolgasster commented 6 years ago

Cannot parse IP addresses with '%' sign, e.g. "fe80::8430:a7f7:5f9c:7c2c%6" (System.Net.IPAddress parses it without exception).

jsakamoto commented 6 years ago

Oh...

Thank you for your report 👍

I'm going to fix it until next week.

jsakamoto commented 6 years ago

I fixed it at commit 8b8058dc7271412628a6dd2c54e4032301aeb801.

Notice: Begin and End properties in IPAddressRange object always don't containing scoped id if those are parsed from an IP address string with scope id.
Because "range" doesn't rely on individual the network card.

I released the fixed version as a Beta release.

https://www.nuget.org/packages/IPAddressRange/2.1.1-beta

I'll release as an official version in a few days if there are no more problems.

wolgasster commented 6 years ago

Good) Thank you!

jsakamoto commented 6 years ago

I released it as an official edition.

https://www.nuget.org/packages/IPAddressRange/2.1.1