From 736368f44151b01440160d1877dcbb28d41a85bf Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 23 Oct 2007 13:39:49 +0200 Subject: [PATCH] improve slightly the SupportedRates print output --- src/devices/wifi/supported-rates.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/wifi/supported-rates.cc b/src/devices/wifi/supported-rates.cc index 4679e72db..da8b7af02 100644 --- a/src/devices/wifi/supported-rates.cc +++ b/src/devices/wifi/supported-rates.cc @@ -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; }