]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of addrpre
authorSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 23:32:23 +0000 (16:32 -0700)
committerSean Hefty <sean.hefty@intel.com>
Fri, 28 Jun 2013 23:32:23 +0000 (16:32 -0700)
src/acm.c

index 4a9f7b26a9b8588606e7d2b211336006f37b0567..7f926b4878852b728914509ecd19cacdcfc23e01 100644 (file)
--- a/src/acm.c
+++ b/src/acm.c
@@ -2860,7 +2860,7 @@ static void acm_parse_hosts_file(struct acm_ep *ep)
                        dest->state = ACM_READY;
                        acm_put_dest(gid_dest);
                } else {
-                       memcpy(dest->path.dgid, &ib_addr, 16);
+                       memcpy(&dest->path.dgid, &ib_addr, 16);
                        //ibv_query_gid(ep->port->dev->verbs, ep->port->port_num,
                        //              0, &dest->path.sgid);
                        dest->path.slid = htons(ep->port->lid);