Update of /cvsroot/javanetsim/javaNetSim/core
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18187/core
Modified Files:
EthernetLink.java FalseRandom.java
Log Message:
Index: EthernetLink.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/EthernetLink.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** EthernetLink.java 2 Sep 2006 12:35:00 -0000 1.8
--- EthernetLink.java 3 Sep 2006 13:49:15 -0000 1.9
***************
*** 96,100 ****
if(cat==1)
temp.receivePacket(inPacket);
! else throw new LowLinkException("Packet lost due to physical link problems!");
}
}
--- 96,100 ----
if(cat==1)
temp.receivePacket(inPacket);
! else throw new LowLinkException("(***) Packet lost due to physical link problems!");
}
}
Index: FalseRandom.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/FalseRandom.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** FalseRandom.java 3 Sep 2006 13:05:31 -0000 1.7
--- FalseRandom.java 3 Sep 2006 13:49:15 -0000 1.8
***************
*** 10,14 ****
//int sequence[] = {1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
! int sequence[] = {1};
if(count >= sequence.length) count = 0;
--- 10,16 ----
//int sequence[] = {1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
! int sequence[] = {1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
!
! //int sequence[] = {1};
if(count >= sequence.length) count = 0;
|