[Javanetsim-cvs] javaNetSim/core EthernetLink.java,1.5,1.6
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-02-28 18:25:30
|
Update of /cvsroot/javanetsim/javaNetSim/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2239/core Modified Files: EthernetLink.java Log Message: Index: EthernetLink.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/EthernetLink.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** EthernetLink.java 24 Feb 2006 15:41:43 -0000 1.5 --- EthernetLink.java 28 Feb 2006 18:25:27 -0000 1.6 *************** *** 87,91 **** if (!temp.getSourceName().equals(inSourceName)) { ! if( ((sievingCoefficient+10)/100)>Math.random()) temp.receivePacket(inPacket); else throw new LowLinkException("Packet lost due to physical link problems!"); --- 87,91 ---- if (!temp.getSourceName().equals(inSourceName)) { ! if( ((sievingCoefficient)/100)>Math.random()) temp.receivePacket(inPacket); else throw new LowLinkException("Packet lost due to physical link problems!"); |