fix bug trying to randomize the octets 0.0.0.0.
This commit is contained in:
parent
2b944891e2
commit
54ddd2a2af
@ -276,6 +276,7 @@ namespace EduNetworkBuilder
|
|||||||
public string randomizeOctects(string original)
|
public string randomizeOctects(string original)
|
||||||
{
|
{
|
||||||
string[] parts = original.Split('.');
|
string[] parts = original.Split('.');
|
||||||
|
if (original == NB.ZeroIPString) return original;
|
||||||
bool done = false;
|
bool done = false;
|
||||||
List<string> toRandomize = new List<string>(parts);
|
List<string> toRandomize = new List<string>(parts);
|
||||||
List<string> randomized = new List<string>();
|
List<string> randomized = new List<string>();
|
||||||
|
Loading…
Reference in New Issue
Block a user