Fix two nits that escaped checkin

This commit is contained in:
Tom Henderson
2008-04-22 22:08:53 -07:00
parent 829a6dd8bb
commit 9fd7fbb86c
2 changed files with 3 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ main (int argc, char *argv[])
"Bounds", RectangleValue (Rectangle (0, 1000, 0, 1000)),
"Speed", RandomVariableValue (ConstantVariable (2000)),
"Pause", RandomVariableValue (ConstantVariable (0.2)));
mobility.Layout (backbone);
mobility.Install (backbone);
///////////////////////////////////////////////////////////////////////////
// //
@@ -275,7 +275,7 @@ main (int argc, char *argv[])
"Bounds", RectangleValue (Rectangle (-25, 25, -25, 25)),
"Speed", RandomVariableValue (ConstantVariable (30)),
"Pause", RandomVariableValue (ConstantVariable (0.4)));
mobility.Layout (infra);
mobility.Install (infra);
}
///////////////////////////////////////////////////////////////////////////
// //

View File

@@ -41,7 +41,7 @@ int main (int argc, char *argv[])
"Time", StringValue ("2s"),
"Speed", StringValue ("Constant:1.0"),
"Bounds", StringValue ("0:200:0:100"));
mobility.LayoutAll ();
mobility.InstallAll ();
Config::Connect ("/NodeList/*/$ns3::MobilityModelNotifier/CourseChange",
MakeCallback (&CourseChange));