Skip to content

InetAddr::from_std fails to initialize len fields #1246

Closed
@asomers

Description

@asomers

InetAddr::from_std creates libc::sockaddr_in and libc::sockaddr_in6 structs, but doesn't set the len field. That field is only present on BSD-based operating systems.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions