Skip to content

Commit

Permalink
return EHOSTUNREACH at full only when mandatory is set
Browse files Browse the repository at this point in the history
  • Loading branch information
miniway committed Dec 9, 2012
1 parent 9382941 commit 394d755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 394d755

Please sign in to comment.