AF_INET and AF_INET6 should be of type sa_family_t
Open
Nobody has claimed this yet.
breakage-candidate
E-easy
E-help-wanted
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
It's a define in the includes, but used as a sa_family_t. See sockaddr for example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the platform API includes for the AF_INET and AF_INET6 definitions, then compare their declarations with the sockaddr definition and its sa_family_t usage. Confirm the constants are exposed with the intended type on each supported platform and run the repository's relevant test suite to verify the bindings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100