IPv6: Fix Parse(..) bug, returning IPv6.ANY wrong
parent
a3b0745d95
commit
06db57d168
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue