mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 18:13:57 +02:00
Add missing stop event.
I am quite mad about this. Cost me about 10 h of my life to find this.
This commit is contained in:
parent
c4d976b5f3
commit
f4233bc558
2 changed files with 4 additions and 4 deletions
|
@ -556,8 +556,7 @@ MockNetDevice::IsBridge (void) const
|
|||
}
|
||||
|
||||
bool
|
||||
MockNetDevice::Send (
|
||||
Ptr<Packet> packet,
|
||||
MockNetDevice::Send (Ptr<Packet> packet,
|
||||
const Address &dest,
|
||||
uint16_t protocolNumber)
|
||||
{
|
||||
|
|
|
@ -127,6 +127,7 @@ LeoTestCase1::DoRun (void)
|
|||
clientApps.Stop (Seconds (9.0));
|
||||
serverApps.Stop (Seconds (10));
|
||||
|
||||
Simulator::Stop (Seconds (12));
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue