examples/csma-multicast.cc
changeset 2860 9105a5cf6535
parent 2838 d120c4ca2d24
child 2887 9a637e6daee0
--- a/examples/csma-multicast.cc	Mon Mar 31 16:31:34 2008 -0700
+++ b/examples/csma-multicast.cc	Mon Mar 31 17:48:21 2008 -0700
@@ -50,6 +50,11 @@
   // LogComponentEnable ("CsmaMulticastExample", LOG_LEVEL_INFO);
 
   //
+  // Make the random number generators generate reproducible results.
+  //
+  RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8);
+
+  //
   // Set up default values for the simulation.  
   //
   // Select Ethernet II-style encapsulation (no LLC/Snap header)