From 01220f5b881a4f2b1aa843cb2bd830d0c02a8538 Mon Sep 17 00:00:00 2001 From: Andrey Mazo Date: Fri, 17 Apr 2009 21:23:03 +0400 Subject: [PATCH] Fix after update from ns-3-dev: substitute removed NetDevice::GetName() method. --- src/devices/mesh/mesh-point-device.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);