mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
fixup
This commit is contained in:
parent
cf411e1975
commit
443a563edd
2 changed files with 7 additions and 13 deletions
|
@ -96,13 +96,10 @@ int main (int argc, char *argv[])
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
AodvHelper aodv;
|
AodvHelper aodv;
|
||||||
aodv.Set ("EnableHello", BooleanValue (true));
|
aodv.Set ("EnableHello", BooleanValue (false));
|
||||||
//aodv.Set ("HelloInterval", TimeValue (Seconds (5)));
|
//aodv.Set ("HelloInterval", TimeValue (Seconds (10)));
|
||||||
//aodv.Set ("RreqRetries", UintegerValue (1000));
|
//aodv.Set ("TtlThreshold", UintegerValue (16));
|
||||||
//aodv.Set ("RerrRateLimit", UintegerValue (1000));
|
//aodv.Set ("NetDiameter", UintegerValue (32));
|
||||||
//aodv.Set ("RreqRateLimit", UintegerValue (10));
|
|
||||||
aodv.Set ("TtlThreshold", UintegerValue (20));
|
|
||||||
aodv.Set ("NetDiameter", UintegerValue (50));
|
|
||||||
stack.SetRoutingHelper (aodv);
|
stack.SetRoutingHelper (aodv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -149,12 +149,9 @@ int main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
AodvHelper aodv;
|
AodvHelper aodv;
|
||||||
aodv.Set ("EnableHello", BooleanValue (false));
|
aodv.Set ("EnableHello", BooleanValue (false));
|
||||||
//aodv.Set ("HelloInterval", TimeValue (Seconds (5)));
|
//aodv.Set ("HelloInterval", TimeValue (Seconds (10)));
|
||||||
//aodv.Set ("RreqRetries", UintegerValue (1000));
|
//aodv.Set ("TtlThreshold", UintegerValue (16));
|
||||||
//aodv.Set ("RerrRateLimit", UintegerValue (1000));
|
//aodv.Set ("NetDiameter", UintegerValue (32));
|
||||||
//aodv.Set ("RreqRateLimit", UintegerValue (10));
|
|
||||||
aodv.Set ("TtlThreshold", UintegerValue (20));
|
|
||||||
aodv.Set ("NetDiameter", UintegerValue (50));
|
|
||||||
stack.SetRoutingHelper (aodv);
|
stack.SetRoutingHelper (aodv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue