Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26979/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.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** ProtocolStack.java 3 Sep 2006 19:34:31 -0000 1.48
--- ProtocolStack.java 12 Oct 2006 15:21:23 -0000 1.49
***************
*** 1415,1420 ****
packetoutputIPCounter = 0;
packetARPCounter = 0;
! mUDPprotocol.ResetCounters();
! mTCPprotocol.ResetCounters();
}
--- 1415,1420 ----
packetoutputIPCounter = 0;
packetARPCounter = 0;
! if(mUDPprotocol != null) mUDPprotocol.ResetCounters();
! if(mTCPprotocol != null) mTCPprotocol.ResetCounters();
}
|