summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 23:41:49 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-08-15 23:41:56 +0200
commit2edd4076bc0e55177cedc57945b780dc35c9938f (patch)
tree1e1a92abc9dfada0d716aa91529f4be1ec540ab4 /src/MuxElements.cpp
parenta9814a2a8e02928d69b28247b3e7c2a468d8987b (diff)
downloaddabmux-2edd4076bc0e55177cedc57945b780dc35c9938f.tar.gz
dabmux-2edd4076bc0e55177cedc57945b780dc35c9938f.tar.bz2
dabmux-2edd4076bc0e55177cedc57945b780dc35c9938f.zip
Fix several FIG0/19 bugs, subchan id in config
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r--src/MuxElements.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp
index 452e179..60056e4 100644
--- a/src/MuxElements.cpp
+++ b/src/MuxElements.cpp
@@ -48,13 +48,15 @@ using namespace std;
std::string AnnouncementCluster::tostring() const
{
stringstream ss;
- ss << " cluster id : " << (int)cluster_id;
- ss << " flags : 0x" << boost::format("%04x") % flags;
- ss << " subchannel : " << subchanneluid;
+ ss << "cluster id(" << (int)cluster_id;
+ ss << "flags 0x" << boost::format("%04x") % flags;
+ ss << ", subchannel " << subchanneluid;
if (m_active) {
- ss << " *";
+ ss << " *";
}
+ ss << " )";
+
return ss.str();
}