IPv6: Fix Parse(..) bug, returning IPv6.ANY wrong

pull/2/head
Harald Wolff 2019-10-08 11:28:05 +02:00
parent a3b0745d95
commit 06db57d168
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ namespace ln.types.net
words = words.Slice(0, words.Length - 1);
if ((words.Length == 1) && (words[0].Equals(String.Empty)))
if (netmask == 128)
if (netmask == 0)
return IPv6.ANY;
if (words.Length > 8)