Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22416/core/protocolsuite/tcp_ip
Modified Files:
Udp.java
Log Message:
task for tommorow (today)
Index: Udp.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Udp.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Udp.java 20 Nov 2005 21:06:50 -0000 1.21
--- Udp.java 20 Nov 2005 22:03:59 -0000 1.22
***************
*** 194,198 ****
// test if this packet is for a local Address.
-
if(mParentStack.isInternalIP(inPacket.getDestIPAddress())){
--- 194,197 ----
***************
*** 512,518 ****
{
UDP_HashTableElement Elm=null;
- try{
- Integer PortToFree=getApplicationLocalPortNumber(application);
Elm=(UDP_HashTableElement) PortTable.get((Integer)PortToFree);
--- 511,517 ----
{
UDP_HashTableElement Elm=null;
+ try{
+ Integer PortToFree=getApplicationLocalPortNumber(application);
Elm=(UDP_HashTableElement) PortTable.get((Integer)PortToFree);
***************
*** 521,525 ****
Elm.connectedtoIP="";
Elm.connectedtoPort=0;
! }catch(Exception e){}
}
--- 520,525 ----
Elm.connectedtoIP="";
Elm.connectedtoPort=0;
!
! }catch(Exception e){}
}
|