]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
Refresh of acm-nosrc
authorSean Hefty <sean.hefty@intel.com>
Mon, 4 Jun 2012 19:16:25 +0000 (12:16 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 4 Jun 2012 19:16:25 +0000 (12:16 -0700)
src/acm.c

index 7891788c11090c238ab224cce3d735c6814762e1..b6fa32fcfbe878305f31fddb640fbb82e11628bf 100644 (file)
--- a/src/acm.c
+++ b/src/acm.c
@@ -956,7 +956,7 @@ acm_record_path_addr(struct acm_ep *ep, struct acm_dest *dest,
                dest->path.sgid = path->sgid;
                dest->path.slid = path->slid;
        } else {
-               dest->path.slid = ep->port->lid;
+               dest->path.slid = htons(ep->port->lid);
        }
        dest->path.dlid = path->dlid;
        dest->state = ACM_ADDR_RESOLVED;