diff --git a/src/devices/mesh/mesh-point-device.cc b/src/devices/mesh/mesh-point-device.cc index 28efcf1cb..548795f78 100644 --- a/src/devices/mesh/mesh-point-device.cc +++ b/src/devices/mesh/mesh-point-device.cc @@ -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 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);