updated release notes & fixed a bug with wrouter dhcp server

This commit is contained in:
Tim Young 2015-08-23 08:09:30 -07:00
parent 0f131e36cb
commit 01ef8b2fea
2 changed files with 14 additions and 4 deletions

View File

@ -1234,6 +1234,8 @@ namespace EduNetworkBuilder
} }
if (tPacket.isFinshed()) return;
NetworkCard dNic = null; NetworkCard dNic = null;
NetworkCard sNic = null; NetworkCard sNic = null;
@ -1450,7 +1452,8 @@ namespace EduNetworkBuilder
// //
nPacket.destIP = new IPAddress(NB.LoopbackIPString); nPacket.destIP = new IPAddress(NB.LoopbackIPString);
} }
if (myType == NetworkComponentType.net_hub || myType == NetworkComponentType.net_switch) if (myType == NetworkComponentType.net_hub || myType == NetworkComponentType.net_switch ||
myType == NetworkComponentType.wrouter)
{ {
//put mac of management interface on packet //put mac of management interface on packet
//dmac is originating mac //dmac is originating mac
@ -1521,7 +1524,8 @@ namespace EduNetworkBuilder
nPacket.sourceIP = nPacket.destIP; nPacket.sourceIP = nPacket.destIP;
nPacket.TsourceIP = nPacket.destIP; nPacket.TsourceIP = nPacket.destIP;
nPacket.destIP = tip; nPacket.destIP = tip;
if (myType == NetworkComponentType.net_hub || myType == NetworkComponentType.net_switch) if (myType == NetworkComponentType.net_hub || myType == NetworkComponentType.net_switch ||
myType == NetworkComponentType.wrouter)
{ {
//put mac of management interface on packet //put mac of management interface on packet
//dmac is originating mac //dmac is originating mac
@ -1628,7 +1632,7 @@ namespace EduNetworkBuilder
return; return;
} }
} }
else else if(!tPacket.isFresh)
{ {
tPacket.AddMessage(DebugLevel.info, "ERROR! A packet returned to a machine that we were not expecting it from."); tPacket.AddMessage(DebugLevel.info, "ERROR! A packet returned to a machine that we were not expecting it from.");
string sIP = "?.?.?.?"; string sIP = "?.?.?.?";
@ -2072,6 +2076,7 @@ namespace EduNetworkBuilder
List<IPAddress> addresses = nc.IPAddressList(); List<IPAddress> addresses = nc.IPAddressList();
if (addresses.Count > 0) if (addresses.Count > 0)
{ {
if (tPacket.TsourceIP == null) tPacket.TsourceIP = tPacket.sourceIP;
tPacket.OutboundIP = addresses[0]; tPacket.OutboundIP = addresses[0];
tPacket.OutboundNic = nc; tPacket.OutboundNic = nc;
tPacket.OutboundMAC = nc.MAC; tPacket.OutboundMAC = nc.MAC;

View File

@ -1,6 +1,11 @@
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}} {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 6.3.9600}\viewkind4\uc1 {\*\generator Riched20 6.3.9600}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9 Version 1.0.22\line Version 1.0.21 08/15/2015\par \pard\sa200\sl276\slmult1\f0\fs22\lang9 Version 1.0.22\par
* Added ssid and keys for wireless links\par
* Wireless will auto-disconnect if link is too long\par
* Wireless will auto-connect if ssid and key match, if link is short enough\par
* Packets will drop on wireless links if distance is too great\par
* wport has no interface (cannot edit IP address)\line Version 1.0.21 08/15/2015\par
* Added a microwave and fluorescent light. They corrupt data when packets run close to them.\par * Added a microwave and fluorescent light. They corrupt data when packets run close to them.\par
* Added some packet corruption puzzles\par * Added some packet corruption puzzles\par
* Fixed window resize-on-load issue where the help window popped up first, then the builder window resized over to hide the help window. \par * Fixed window resize-on-load issue where the help window popped up first, then the builder window resized over to hide the help window. \par