diff --git a/src/point-to-point/helper/point-to-point-helper.cc b/src/point-to-point/helper/point-to-point-helper.cc index 05cf8e40a..274446441 100644 --- a/src/point-to-point/helper/point-to-point-helper.cc +++ b/src/point-to-point/helper/point-to-point-helper.cc @@ -82,8 +82,7 @@ PointToPointHelper::EnablePcapInternal(std::string prefix, Ptr device = nd->GetObject(); if (!device) { - NS_LOG_INFO("PointToPointHelper::EnablePcapInternal(): Device " - << device << " not of type ns3::PointToPointNetDevice"); + NS_LOG_INFO("Device " << device << " not of type ns3::PointToPointNetDevice"); return; } @@ -117,8 +116,7 @@ PointToPointHelper::EnableAsciiInternal(Ptr stream, Ptr device = nd->GetObject(); if (!device) { - NS_LOG_INFO("PointToPointHelper::EnableAsciiInternal(): Device " - << device << " not of type ns3::PointToPointNetDevice"); + NS_LOG_INFO("Device " << device << " not of type ns3::PointToPointNetDevice"); return; }