Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18260/core/protocolsuite/tcp_ip
Modified Files:
ProtocolStack.java Udp.java
Log Message:
Minor fixes and Forward ARP packet FIX.
Index: ProtocolStack.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ProtocolStack.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** ProtocolStack.java 8 Dec 2005 20:56:48 -0000 1.35
--- ProtocolStack.java 5 Feb 2006 14:01:51 -0000 1.36
***************
*** 356,360 ****
String destMAC = null;
!
//
--- 356,360 ----
String destMAC = null;
! if(!(inPacket instanceof ARP_packet)){
//
***************
*** 440,444 ****
}
!
}
--- 440,444 ----
}
! }
}
Index: Udp.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Udp.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** Udp.java 1 Feb 2006 21:38:59 -0000 1.33
--- Udp.java 5 Feb 2006 14:01:51 -0000 1.34
***************
*** 616,622 ****
UDP_Info.setDescription("UDP application is now listening on UDP port "+ inPort +".");
Simulation.addLayerInfo(UDP_Info); */
! }
!
!
/**
* This method finds destination IP (host) for an application.
--- 616,624 ----
UDP_Info.setDescription("UDP application is now listening on UDP port "+ inPort +".");
Simulation.addLayerInfo(UDP_Info); */
! }
!
!
!
!
/**
* This method finds destination IP (host) for an application.
|