Description of problem: It seems to be set as int32, and read as uint16. Elsewhere, it is used as a string, which is even stranger, btw. It should be consistent. For example: api/src/glfs-mgmt.c:923: ret = dict_set_int32(rpc_trans->options, "remote-port", rpc/rpc-transport/socket/src/name.c:242: remote_port = data_to_uint16(remote_port_data); rpc/rpc-transport/rdma/src/name.c:245: remote_port = data_to_uint16(remote_port_data); rpc/rpc-lib/src/rpc-transport.c:684: ret = dict_set_int32(dict, "remote-port", port);
Still relevant, as of Gluster 7, but doesn't seem like anyone is going to fix this, closing.