Commit ca057c7d authored by Martin Hurton's avatar Martin Hurton

Fix identity generation for transient inproc connections

parent 1f61c87a
...@@ -635,8 +635,8 @@ void zmq::socket_base_t::attach_pipes (class reader_t *inpipe_, ...@@ -635,8 +635,8 @@ void zmq::socket_base_t::attach_pipes (class reader_t *inpipe_,
xattach_pipes (inpipe_, outpipe_, peer_identity_); xattach_pipes (inpipe_, outpipe_, peer_identity_);
} }
else { else {
blob_t identity (0, 1); blob_t identity (1, 0);
identity += uuid_t ().to_blob (); identity.append (uuid_t ().to_blob (), uuid_t::uuid_blob_len);
xattach_pipes (inpipe_, outpipe_, identity); xattach_pipes (inpipe_, outpipe_, identity);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment