improve slightly the SupportedRates print output
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 23 Oct 2007 13:39:49 +0200
changeset 2018 ef299bf6c930
parent 2017 44877983627a
child 2019 eee1c9d3811f
improve slightly the SupportedRates print output
src/devices/wifi/supported-rates.cc
--- a/src/devices/wifi/supported-rates.cc	Tue Oct 23 13:38:03 2007 +0200
+++ b/src/devices/wifi/supported-rates.cc	Tue Oct 23 13:39:49 2007 +0200
@@ -112,6 +112,7 @@
 
 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 @@
           os << " ";
         }
     }
+  os << "]";
   return os;
 }