]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
xio: fix error from explicit ctor of entity_name_t
authorRoi Dayan <roid@mellanox.com>
Thu, 4 Feb 2016 07:08:36 +0000 (09:08 +0200)
committerRoi Dayan <roid@mellanox.com>
Thu, 11 Feb 2016 06:54:33 +0000 (08:54 +0200)
entity_name_t ctor is now explicit.

Signed-off-by: Roi Dayan <roid@mellanox.com>
src/msg/xio/XioConnection.cc

index 2f5909108042ffd8f4cc251a289cd7c97510c8c2..51173810778c508ba2cc5062d54d014572740eac 100644 (file)
@@ -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