Skip to content

Commit

Permalink
msg/RDMA: Fix broken compilation due to new argument in net.connect()
Browse files Browse the repository at this point in the history
Fixes: 6e4ed29 ("msg: add ms_bind_before_connect to bind before connect")

Change-Id: Ia45f215b5d59dfc8545017518e5162404059829e
  • Loading branch information
amirv committed Jan 25, 2017
1 parent 5ce4036 commit 034f763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msg/async/rdma/RDMAConnectedSocketImpl.cc
Expand Up @@ -164,7 +164,7 @@ int RDMAConnectedSocketImpl::try_connect(const entity_addr_t& peer_addr, const S
ldout(cct, 20) << __func__ << " nonblock:" << opts.nonblock << ", nodelay:"
<< opts.nodelay << ", rbuf_size: " << opts.rcbuf_size << dendl;
NetHandler net(cct);
tcp_fd = net.connect(peer_addr);
tcp_fd = net.connect(peer_addr, opts.connect_bind_addr);

if (tcp_fd < 0) {
return -errno;
Expand Down

0 comments on commit 034f763

Please sign in to comment.