From ab8c080ef5cac511616ad98219a3e788fbddfb2a Mon Sep 17 00:00:00 2001 From: MaPePeR Date: Fri, 24 Nov 2017 19:09:49 +0100 Subject: Save endpoint in ZMQ-Output to show it in the log. --- src/dabOutput/dabOutputZMQ.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dabOutput') 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; } -- cgit v1.2.3