equal
deleted
inserted
replaced
456 bool explicitFilename) |
456 bool explicitFilename) |
457 { |
457 { |
458 // |
458 // |
459 // All of the ascii enable functions vector through here including the ones |
459 // All of the ascii enable functions vector through here including the ones |
460 // that are wandering through all of devices on perhaps all of the nodes in |
460 // that are wandering through all of devices on perhaps all of the nodes in |
461 // the system. We can only deal with devices of type CsmaNetDevice. |
461 // the system. We can only deal with devices of type WifiNetDevice. |
462 // |
462 // |
463 Ptr<WifiNetDevice> device = nd->GetObject<WifiNetDevice> (); |
463 Ptr<WifiNetDevice> device = nd->GetObject<WifiNetDevice> (); |
464 if (device == 0) |
464 if (device == 0) |
465 { |
465 { |
466 NS_LOG_INFO ("YansWifiHelper::EnableAsciiInternal(): Device " << device << " not of type ns3::WifiNetDevice"); |
466 NS_LOG_INFO ("YansWifiHelper::EnableAsciiInternal(): Device " << device << " not of type ns3::WifiNetDevice"); |