use proper net byte order for exception reflect

This commit is contained in:
Jeff Hill
1998-10-01 22:55:41 +00:00
parent 163853f5bc
commit 61e74ab5bb

View File

@@ -1931,8 +1931,14 @@ char *pformat,
/*
* copy back the request protocol
* (in network byte order)
*/
reply[1] = *curp;
reply[1].m_postsize = htons (curp->m_postsize);
reply[1].m_cmmd = htons (curp->m_cmmd);
reply[1].m_type = htons (curp->m_type);
reply[1].m_count = htons (curp->m_count);
reply[1].m_cid = curp->m_cid;
reply[1].m_available = curp->m_available;
/*
* add their context string into the protocol