mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 01:53:58 +02:00
Also log node ids of sink and source to stderr
This commit is contained in:
parent
db1510063a
commit
cf411e1975
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@ int main (int argc, char *argv[])
|
|||
utCh.EnablePcapAll ("tcp-bulk-send", false);
|
||||
}
|
||||
|
||||
std::cerr << "LOCAL =" << users.Get (0)->GetId () << std::endl;
|
||||
std::cerr << "REMOTE=" << users.Get (1)->GetId () << ",addr=" << Ipv4Address::ConvertFrom (remote) << std::endl;
|
||||
|
||||
NS_LOG_INFO ("Run Simulation.");
|
||||
Simulator::Stop (Seconds (duration));
|
||||
Simulator::Run ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue