move traversalpath dump out

This commit is contained in:
Tim Young 2017-08-25 16:14:43 -05:00
parent 01eb63b401
commit e2b4d34e35
2 changed files with 2 additions and 2 deletions

View File

@ -1887,7 +1887,6 @@ namespace EduNetworkBuilder
IPAddress destination = DNSLookup(src, dest);
src.PingFromHere(destination);
NonVisualProcessPacketsOnce();
if (LastTraversal != null) LastTraversal.DumpPath();
NB.UnregisterInvisibleNetwork();
return LastTraversal;
}

View File

@ -2150,7 +2150,8 @@ namespace EduNetworkBuilder
//we will prompt for stuff. For now, just use the firewalls network
LoadSolvedResource( SolvedNetworkNames.firewalls.ToString());
myNetwork.NonVisualDoDHCPOnAll();
myNetwork.NonVisualPingOneHost("pc1", "pc2");
TraversalClass tc = myNetwork.NonVisualPingOneHost("pc1", "pc2");
tc.DumpPath();
}
#endregion Random Map Stuff
}