We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff --git a/rdma/ibverbs.pyx b/rdma/ibverbs.pyx index 16891a6..59bddf0 100644 --- a/rdma/ibverbs.pyx +++ b/rdma/ibverbs.pyx @@ -108,7 +108,7 @@ cdef to_ah_attr(c.ibv_ah_attr *cattr, object attr): raise TypeError("attr.grh must be a global_route") if not isinstance(attr.grh.dgid, IBA.GID): raise TypeError("attr.grh.dgid must be an IBA.GID") - tmp = <uint8_t *>PyString_AsString(attr.DGID); + tmp = <uint8_t *>PyString_AsString(attr.grh.dgid); for 0 <= i < 16: cattr.grh.dgid.raw[i] = tmp[i]; cattr.grh.flow_label = attr.grh.flow_label @@ -466,6 +466,22 @@ cdef class Context: active_speed = cattr.active_speed, phys_state = cattr.phys_state)
The text was updated successfully, but these errors were encountered:
can you send these two as a pull request?
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: