--- a/src/devices/mesh/mesh-wifi-interface-mac.cc Thu Aug 20 18:33:57 2009 +0400
+++ b/src/devices/mesh/mesh-wifi-interface-mac.cc Fri Aug 21 23:33:52 2009 +0400
@@ -665,7 +665,7 @@
"txFrames=\"" << sentFrames << "\" "
"txBytes=\"" << sentBytes << "\" "
"rxFrames=\"" << recvFrames << "\" "
- "rxBytes=\"" << recvBytes << "\"/>\n";
+ "rxBytes=\"" << recvBytes << "\"/>" << std::endl;
}
void
MeshWifiInterfaceMac::Report (std::ostream & os) const
@@ -673,9 +673,9 @@
os << "<Interface "
"BeaconInterval=\"" << GetBeaconInterval ().GetSeconds () << "\" "
"Channel=\"" << GetFrequencyChannel () << "\" "
- "Address = \"" << GetAddress () << "\">\n";
+ "Address = \"" << GetAddress () << "\">" << std::endl;
m_stats.Print (os);
- os << "</Interface>\n";
+ os << "</Interface>" << std::endl;
}
void
MeshWifiInterfaceMac::ResetStats ()