Fix build without RDMA

allow-etcd-address-option
Vitaliy Filippov 2021-05-08 18:20:43 +03:00
parent caf2f3c56f
commit 6b2dd50f27
1 changed files with 2 additions and 0 deletions

View File

@ -516,10 +516,12 @@ void osd_messenger_t::accept_connections(int listen_fd)
}
}
#ifdef WITH_RDMA
bool osd_messenger_t::is_rdma_enabled()
{
return rdma_context != NULL;
}
#endif
json11::Json osd_messenger_t::read_config(const json11::Json & config)
{