Skip to content
Snippets Groups Projects
Commit 7b4ed9d2 authored by Isaac Huang's avatar Isaac Huang
Browse files

i=eeb:

-   ibm_version is a u16.
parent 8741eb05
No related branches found
No related tags found
No related merge requests found
...@@ -443,7 +443,7 @@ kibnal_handle_svcqry (struct socket *sock) ...@@ -443,7 +443,7 @@ kibnal_handle_svcqry (struct socket *sock)
} }
version = (msg->ibm_magic == IBNAL_MSG_MAGIC) ? version = (msg->ibm_magic == IBNAL_MSG_MAGIC) ?
msg->ibm_version : __swab32(msg->ibm_version); msg->ibm_version : __swab16(msg->ibm_version);
/* Peer is a different protocol version: reply in my current protocol /* Peer is a different protocol version: reply in my current protocol
* to tell her I'm "old" */ * to tell her I'm "old" */
if (version != IBNAL_MSG_VERSION && if (version != IBNAL_MSG_VERSION &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment