>+#ifdef OSM_VENDOR_INTF_AL >+ dlid = p_osmt->local_port.sm_lid; // already in correct byte-order >+#else > dlid = cl_ntoh16(p_osmt->local_port.sm_lid); >+#endif osmtest looks like the wrong layer to apply this sort of work-around/fix.