Page MenuHomeFreeBSD

Change char in struct sockaddr_storage to unsigned
Needs ReviewPublic

Authored by code.jpe_gmail.com on Sep 23 2017, 1:05 PM.

Details

Reviewers
gnn
Summary

This header file is imported by Golang and converted into a native Golang struct. The char type was therefor converted into int8 which causes issues holding IP address octets. This prevents using MCAST_JOIN_GROUP in Golang on FreeBSD with a setsockopt error since octet 224 will wrap to -32.

Bump FreeBSD version to indicate the struct change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped