diff options
author | Raghavendra G <raghavendra@gluster.com> | 2012-12-18 16:24:54 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-12-18 15:42:58 -0800 |
commit | 439166bd0abafa44d9a1d59931ee0957b1dd5382 (patch) | |
tree | def4a20eb2d245220067816306e2867048d438e9 | |
parent | e0c7d9edb67c19eee9dc3a536bd3347d350082f0 (diff) |
rpc-transport/rdma: use 24008 as default listen port.
Change-Id: I021d5e2dbe3653d4303b64fe1ada0556cd4b7966
BUG: 878883
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Reviewed-on: http://review.gluster.org/4323
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r-- | rpc/rpc-transport/rdma/src/name.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/rpc-transport/rdma/src/name.c b/rpc/rpc-transport/rdma/src/name.c index 6b0ee11ff..f6ae818b1 100644 --- a/rpc/rpc-transport/rdma/src/name.c +++ b/rpc/rpc-transport/rdma/src/name.c @@ -360,6 +360,8 @@ af_inet_server_get_local_sockaddr (rpc_transport_t *this, if (listen_port_data) { listen_port = data_to_uint16 (listen_port_data); } else { + listen_port = GF_DEFAULT_RDMA_LISTEN_PORT; + if (addr->sa_family == AF_INET6) { struct sockaddr_in6 *in = (struct sockaddr_in6 *) addr; in->sin6_addr = in6addr_any; |