mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Multi-hop REQ/REP, part III., change 'type' in options to simple 'traceroute' flag
This commit is contained in:
@@ -78,7 +78,7 @@ bool zmq::zmq_init_t::write (::zmq_msg_t *msg_)
|
||||
|
||||
// Once the initial handshaking is over, XREP sockets should start
|
||||
// tracerouting individual messages.
|
||||
if (options.type == ZMQ_XREP)
|
||||
if (options.traceroute)
|
||||
engine->traceroute ((unsigned char*) peer_identity.data (),
|
||||
peer_identity.size ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user