Multi-hop REQ/REP, part III., change 'type' in options to simple 'traceroute' flag

This commit is contained in:
Martin Sustrik
2010-02-12 19:42:35 +01:00
parent 96e0442332
commit 313b5dfadd
12 changed files with 10 additions and 15 deletions

View File

@@ -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 ());