From: Roi Dayan Date: Thu, 4 Feb 2016 07:08:36 +0000 (+0200) Subject: xio: fix error from explicit ctor of entity_name_t X-Git-Tag: v10.1.0~370^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36a82b303fa476d67c716226c92052487c4226ea;p=ceph.git xio: fix error from explicit ctor of entity_name_t entity_name_t ctor is now explicit. Signed-off-by: Roi Dayan --- diff --git a/src/msg/xio/XioConnection.cc b/src/msg/xio/XioConnection.cc index 2f590910804..51173810778 100644 --- a/src/msg/xio/XioConnection.cc +++ b/src/msg/xio/XioConnection.cc @@ -17,7 +17,7 @@ #include "XioConnection.h" #include "XioMessenger.h" #include "messages/MDataPing.h" - +#include "msg/msg_types.h" #include "auth/none/AuthNoneProtocol.h" // XXX #include "include/assert.h" @@ -398,7 +398,7 @@ int XioConnection::on_msg_req(struct xio_session *session, peer_type = hdr.peer_type; peer_addr = hdr.addr; peer.addr = peer_addr; - peer.name = hdr.hdr->src; + peer.name = entity_name_t(hdr.hdr->src); if (xio_conn_type == XioConnection::PASSIVE) { /* XXX kick off feature/authn/authz negotiation * nb: very possibly the active side should initiate this, but