improve slightly the SupportedRates print output

This commit is contained in:
Mathieu Lacage
2007-10-23 13:39:49 +02:00
parent 7aede726ca
commit 736368f441

View File

@@ -112,6 +112,7 @@ SupportedRates::Deserialize (Buffer::Iterator start)
std::ostream &operator << (std::ostream &os, const SupportedRates &rates)
{
os << "[";
for (uint8_t i = 0; i < rates.GetNRates (); i++)
{
uint32_t rate = rates.GetRate (i);
@@ -121,6 +122,7 @@ std::ostream &operator << (std::ostream &os, const SupportedRates &rates)
os << " ";
}
}
os << "]";
return os;
}