examples/csma-one-subnet.cc
changeset 4218 debf1a8a96d3
parent 3716 458bc4845806
child 4225 f1d873a81159
equal deleted inserted replaced
4084:dd514b5e0bc6 4218:debf1a8a96d3
    48   LogComponentEnable ("CsmaOneSubnetExample", LOG_LEVEL_INFO);
    48   LogComponentEnable ("CsmaOneSubnetExample", LOG_LEVEL_INFO);
    49 #endif
    49 #endif
    50 //
    50 //
    51 // Make the random number generators generate reproducible results.
    51 // Make the random number generators generate reproducible results.
    52 //
    52 //
    53   RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8);
    53   uint32_t seed[6] = {1, 1, 2, 3, 5, 8};
       
    54   SeedManager::SetSeed(seed);
    54 //
    55 //
    55 // Allow the user to override any of the defaults and the above Bind() at
    56 // Allow the user to override any of the defaults and the above Bind() at
    56 // run-time, via command-line arguments
    57 // run-time, via command-line arguments
    57 //
    58 //
    58   CommandLine cmd;
    59   CommandLine cmd;