From af651b44a9802f1aa7db81f06f4ba67305d3ad06 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Fri, 17 Apr 2009 13:45:25 +0200 Subject: [PATCH] register a correct TypeId --- src/devices/wifi/rraa-wifi-manager.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/wifi/rraa-wifi-manager.cc b/src/devices/wifi/rraa-wifi-manager.cc index 85e9a6c0d..93285a4fa 100644 --- a/src/devices/wifi/rraa-wifi-manager.cc +++ b/src/devices/wifi/rraa-wifi-manager.cc @@ -29,6 +29,8 @@ NS_LOG_COMPONENT_DEFINE ("RraaWifiManager"); namespace ns3 { + +NS_OBJECT_ENSURE_REGISTERED(RraaWifiManager); RraaWifiRemoteStation::RraaWifiRemoteStation (Ptr stations) : m_stations (stations) @@ -188,7 +190,7 @@ RraaWifiRemoteStation::ARts (void) TypeId RraaWifiManager::GetTypeId (void) { - static TypeId tid = TypeId ("RraaWifiManager") + static TypeId tid = TypeId ("ns3::RraaWifiManager") .SetParent () .AddConstructor () .AddAttribute ("Basic",