diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-09-07 13:14:40 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-07 11:55:40 -0700 |
commit | 37f01b2714bba57b28b9125c3652b8e35db6504a (patch) | |
tree | c425361af3e7d411faa57426c4e560a9487bf8e0 /rpc/rpc-transport/rdma/src/name.h | |
parent | 270dffa378a651369d6727fa38ae99934d953259 (diff) |
rpc-transport/rdma: honour port argument sent in rdma_connect.v3.1.0qa17
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1555 (rdma remote port defaults to 6997)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1555
Diffstat (limited to 'rpc/rpc-transport/rdma/src/name.h')
-rw-r--r-- | rpc/rpc-transport/rdma/src/name.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-transport/rdma/src/name.h b/rpc/rpc-transport/rdma/src/name.h index bd5e3ce6f88..681665d25ab 100644 --- a/rpc/rpc-transport/rdma/src/name.h +++ b/rpc/rpc-transport/rdma/src/name.h @@ -34,7 +34,8 @@ gf_rdma_client_bind (rpc_transport_t *this, int32_t gf_rdma_client_get_remote_sockaddr (rpc_transport_t *this, struct sockaddr *sockaddr, - socklen_t *sockaddr_len); + socklen_t *sockaddr_len, + int16_t remote_port); int32_t gf_rdma_server_get_local_sockaddr (rpc_transport_t *this, |