hi for all,
when I'm using the mesh example, I try to get the number of netdevice in each node.
I write the following code :
std::cout << "Mesh_nodes : "<< mesh_nodes.Get(i)->GetId()+1<<" ;Net device number : "<< mesh_nodes.Get(i)->GetNDevices()-1 <<" \n";
however, when I put this line in the last the MeshTest::CreateNodes () method, I get 3 netdevices
but if I put the same line of code in the last of MeshTest::InstallInternetStack (), I get 4 netdevices
the InternetStackHelper is used to install internet stack on node and does not create any new netdevices so why the netdevices number is increased ?
best regards.