Commit 394d755c authored by Min(Dongmin Yu)'s avatar Min(Dongmin Yu)

return EHOSTUNREACH at full only when mandatory is set

parent 9382941a
......@@ -166,7 +166,7 @@ int zmq::router_t::xsend (msg_t *msg_)
if (!current_out->check_write ()) {
it->second.active = false;
current_out = NULL;
unreach = true;
unreach = mandatory ? true: false;
}
}
else
......
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