Fix after update from ns-3-dev: substitute removed NetDevice::GetName() method.

This commit is contained in:
Andrey Mazo
2009-04-17 21:23:03 +04:00
parent b871da5c23
commit 01220f5b88

View File

@@ -23,7 +23,7 @@
#include "ns3/node.h"
#include "ns3/packet.h"
#include "ns3/log.h"
#include "ns3/pointer.h"
#include "ns3/pointer.h"
#include "ns3/mesh-point-device.h"
NS_LOG_COMPONENT_DEFINE ("MeshPointDevice");
@@ -324,7 +324,7 @@ MeshPointDevice::AddInterface (Ptr<NetDevice> iface)
}
m_address = Mac48Address::ConvertFrom (iface->GetAddress ());
NS_LOG_DEBUG ("RegisterProtocolHandler for " << iface->GetName ());
NS_LOG_DEBUG ("RegisterProtocolHandler for " << iface->GetInstanceTypeId ().GetName ());
m_node->RegisterProtocolHandler (MakeCallback (&MeshPointDevice::ReceiveFromDevice, this),
0, iface, /*promiscuous = */true);