*/
dp.tsn = 0;
dp.stream = htons(sinfo->sinfo_stream);
- dp.ppid = htonl(sinfo->sinfo_ppid);
+ dp.ppid = sinfo->sinfo_ppid;
/* Set the flags for an unordered send. */
if (sinfo->sinfo_flags & MSG_UNORDERED) {
* for and this information is passed opaquely by the SCTP stack from
* one end to the other.
*/
- info->sinfo_ppid = ntohl(chunk->subh.data_hdr->ppid);
+ info->sinfo_ppid = chunk->subh.data_hdr->ppid;
/* Sockets API Extensions for SCTP
* Section 5.2.2 SCTP Header Information Structure (SCTP_SNDRCV)