move traversalpath dump out
This commit is contained in:
parent
01eb63b401
commit
e2b4d34e35
@ -1887,7 +1887,6 @@ namespace EduNetworkBuilder
|
|||||||
IPAddress destination = DNSLookup(src, dest);
|
IPAddress destination = DNSLookup(src, dest);
|
||||||
src.PingFromHere(destination);
|
src.PingFromHere(destination);
|
||||||
NonVisualProcessPacketsOnce();
|
NonVisualProcessPacketsOnce();
|
||||||
if (LastTraversal != null) LastTraversal.DumpPath();
|
|
||||||
NB.UnregisterInvisibleNetwork();
|
NB.UnregisterInvisibleNetwork();
|
||||||
return LastTraversal;
|
return LastTraversal;
|
||||||
}
|
}
|
||||||
|
@ -2150,7 +2150,8 @@ namespace EduNetworkBuilder
|
|||||||
//we will prompt for stuff. For now, just use the firewalls network
|
//we will prompt for stuff. For now, just use the firewalls network
|
||||||
LoadSolvedResource( SolvedNetworkNames.firewalls.ToString());
|
LoadSolvedResource( SolvedNetworkNames.firewalls.ToString());
|
||||||
myNetwork.NonVisualDoDHCPOnAll();
|
myNetwork.NonVisualDoDHCPOnAll();
|
||||||
myNetwork.NonVisualPingOneHost("pc1", "pc2");
|
TraversalClass tc = myNetwork.NonVisualPingOneHost("pc1", "pc2");
|
||||||
|
tc.DumpPath();
|
||||||
}
|
}
|
||||||
#endregion Random Map Stuff
|
#endregion Random Map Stuff
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user