summaryrefslogtreecommitdiff
path: root/src/p2p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/p2p.cpp')
-rw-r--r--src/p2p.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p.cpp b/src/p2p.cpp
index 72bc26b..46bbd0b 100644
--- a/src/p2p.cpp
+++ b/src/p2p.cpp
@@ -29,6 +29,7 @@ zmq::p2p_t::p2p_t (class app_thread_t *parent_) :
outpipe (NULL),
alive (true)
{
+ options.type = ZMQ_P2P;
options.requires_in = true;
options.requires_out = true;
}