traceroute works, at least rudimentarily

This commit is contained in:
2017-03-13 14:04:02 +03:00
parent 1ebf932edb
commit 9e33a6f392
6 changed files with 88 additions and 10 deletions

View File

@ -252,6 +252,7 @@ namespace EduNetworkBuilder
public static UInt32 ParseIp(this string ipAddress)
{
if (ipAddress == null) ipAddress = "";
var gw = ipAddress.Split('/'); //Pull off any cdr
var mySplitVal = gw[0].Split('.');
if (mySplitVal.Count() != 4)