Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10777/core/protocolsuite/tcp_ip
Modified Files:
ProtocolStack.java
Log Message:
Index: ProtocolStack.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ProtocolStack.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** ProtocolStack.java 1 Dec 2005 14:54:37 -0000 1.25
--- ProtocolStack.java 1 Dec 2005 15:03:28 -0000 1.26
***************
*** 400,410 ****
! try{
NetworkLayerDevice temp = (NetworkLayerDevice)mParentNode;
! temp.sendPacket(destMAC, inPacket, outInterface[0]);
! }catch(InvalidNetworkInterfaceNameException ex){
throw new CommunicationException("The Interface " + outInterface + " was unable to send the Packet.");
--- 400,410 ----
! try{
NetworkLayerDevice temp = (NetworkLayerDevice)mParentNode;
! temp.sendPacket(destMAC, inPacket, outInterface[0] );
! }catch(InvalidNetworkInterfaceNameException ex){
throw new CommunicationException("The Interface " + outInterface + " was unable to send the Packet.");
|