changeset 4218 | debf1a8a96d3 |
parent 4028 | 13c1916747f2 |
child 4225 | f1d873a81159 |
--- a/examples/first.cc Tue Dec 30 11:35:31 2008 -0800 +++ b/examples/first.cc Tue Jan 13 17:15:44 2009 -0500 @@ -29,7 +29,8 @@ LogComponentEnable("UdpEchoClientApplication", LOG_LEVEL_INFO); LogComponentEnable("UdpEchoServerApplication", LOG_LEVEL_INFO); - RandomVariable::UseGlobalSeed (1, 1, 2, 3, 5, 8); + uint32_t seed[6] = {1, 1, 2, 3, 5, 8}; + SeedManager::SetSeed(seed); NodeContainer nodes; nodes.Create (2);