equal
deleted
inserted
replaced
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; |