summaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 2559cb0..1f6754d 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -25,6 +25,7 @@
#include <cstring>
#include <iostream>
#include <boost/shared_ptr.hpp>
+#include <boost/algorithm/string/join.hpp>
#include "DabMux.h"
#include "utils.h"
@@ -389,6 +390,12 @@ void printServices(const vector<shared_ptr<DabService> >& services)
service->language, service->language);
etiLog.log(info, " announcements: 0x%x",
service->ASu);
+
+ std::vector<std::string> clusters_s;
+ for (const auto& cluster : service->clusters) {
+ clusters_s.push_back(std::to_string(cluster));
+ }
+ etiLog.level(info) << " clusters: " << boost::join(clusters_s, ",");
++index;
}
}