Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly type sctp_assoc_id as signed, not unsigned
The underlying type of an SCTP association ID is a signed 32-bit integer on common platforms (Solaris, Linux & Mac OS/X NKE). The SCTP socket API draft spec (draft-ietf-tsvwg-sctpsocket-19) defines only one special value, zero. Although particular platform implementations may impose other restrictions, the type check in prim_inet should allow all valid values.
- Loading branch information