diff options
author | Robert Mustacchi <rm@joyent.com> | 2015-03-11 21:55:29 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-03-11 21:57:45 +0000 |
commit | aaa64cb75b43a30e0d08bcb1a8d22bc511601098 (patch) | |
tree | a55949764840e2a5b6efe5e5fd9da2529df7760b /usr/src/lib/varpd | |
parent | 719878cf1bb66c6cb92cdfc6e524fd0bc17c79bf (diff) | |
download | illumos-joyent-aaa64cb75b43a30e0d08bcb1a8d22bc511601098.tar.gz |
OS-4035 svp_conn_pollin mistranlates status codes
Diffstat (limited to 'usr/src/lib/varpd')
-rw-r--r-- | usr/src/lib/varpd/svp/common/libvarpd_svp_conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/varpd/svp/common/libvarpd_svp_conn.c b/usr/src/lib/varpd/svp/common/libvarpd_svp_conn.c index 608a848448..85786d6dd9 100644 --- a/usr/src/lib/varpd/svp/common/libvarpd_svp_conn.c +++ b/usr/src/lib/varpd/svp/common/libvarpd_svp_conn.c @@ -576,10 +576,10 @@ svp_conn_pollin(svp_conn_t *scp) if (nop == SVP_R_VL2_ACK) { svp_vl2_ack_t *sl2a = sqp->sq_wdata; - sqp->sq_status = ntohs(sl2a->sl2a_status); + sqp->sq_status = ntohl(sl2a->sl2a_status); } else if (nop == SVP_R_VL3_ACK) { svp_vl3_ack_t *sl3a = sqp->sq_wdata; - sqp->sq_status = ntohs(sl3a->sl3a_status); + sqp->sq_status = ntohl(sl3a->sl3a_status); } else { libvarpd_panic("unhandled nop: %d", nop); } |