aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaPePeR <MaPePeR@users.noreply.github.com>2017-11-24 19:09:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-11-26 05:31:29 +0100
commitab8c080ef5cac511616ad98219a3e788fbddfb2a (patch)
tree4191f2b4c7e7f1d51cf4abaa395904c7662bb140
parentd56b216e1765e3c26c2e80f3c50724a9b1090909 (diff)
downloaddabmux-ab8c080ef5cac511616ad98219a3e788fbddfb2a.tar.gz
dabmux-ab8c080ef5cac511616ad98219a3e788fbddfb2a.tar.bz2
dabmux-ab8c080ef5cac511616ad98219a3e788fbddfb2a.zip
Save endpoint in ZMQ-Output to show it in the log.
-rw-r--r--src/dabOutput/dabOutputZMQ.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dabOutput/dabOutputZMQ.cpp b/src/dabOutput/dabOutputZMQ.cpp
index f50b7c3..3ca528e 100644
--- a/src/dabOutput/dabOutputZMQ.cpp
+++ b/src/dabOutput/dabOutputZMQ.cpp
@@ -61,6 +61,7 @@ int DabOutputZMQ::Open(const char* endpoint)
string proto_endpoint = zmq_proto_ + "://" + std::string(endpoint);
std::cerr << "ZMQ socket " << proto_endpoint << std::endl;
zmq_pub_sock_.bind(proto_endpoint.c_str());
+ endpoint_ = endpoint;
return 0;
}