Justins fix to network card
This commit is contained in:
parent
d1e3a4dda9
commit
720a45aa81
@ -701,6 +701,15 @@ namespace EduNetworkBuilder
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nf != null && nf.myIP != null && nf.myIP.GetIPString != NB.ZeroIPString)
|
||||
{
|
||||
//If the source IP is empty then it originated from here. We set the source to be us
|
||||
if (tPacket.sourceIP == null || tPacket.sourceIP.GetIPString == NB.ZeroIPString)
|
||||
{
|
||||
tPacket.sourceIP = nf.myIP;
|
||||
WhereFrom.StoreOutgoingPacketInfo(tPacket); //the packet is not yet tunneled
|
||||
}
|
||||
}
|
||||
if (nf.isLocal(tPacket.OutboundIP, false))
|
||||
{
|
||||
//We need to tell the original packet that it is inside another packet
|
||||
|
Loading…
Reference in New Issue
Block a user