diff --git a/Python/router.py b/Python/router.py index 1fa843e..d603d7c 100644 --- a/Python/router.py +++ b/Python/router.py @@ -18,7 +18,7 @@ def __init__(self, queueBufferSize, dddState, packetSize, packet_ID_prefix="R-"): self.queueSize = queueBufferSize # MB's self.clientConnection = clientConnection - self.clientIP = "1.0.0.0" + self.natIP = "10.0.0.0" self.remoteServerConnection = remoteServerConnection self.remoteServerIP = "4.0.0.0" self.attackServerConnection = attackServerConnection @@ -116,7 +116,7 @@ def addToQueues(self): # Drop Packet self.receiveBuffer.remove(i) # Add to clients queue - elif(i.dstIP == self.clientIP): + elif(i.dstIP == self.natIP): self.currentQueueLoadClient += i.packetSize if(self.currentQueueLoadClient <= self.queueLimit): self.queueClient.append(i)