mirror of
https://github.com/golang/go
synced 2024-11-12 04:50:21 -07:00
syscall: fix SockaddrDatalink on netbsd
RawSockaddrDatalink and SockaddrDatalink need to match - make Data have length 12 for both. R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/6223051
This commit is contained in:
parent
4973c1fc7e
commit
67a0c4f7f9
@ -22,7 +22,7 @@ type SockaddrDatalink struct {
|
||||
Nlen uint8
|
||||
Alen uint8
|
||||
Slen uint8
|
||||
Data [24]int8
|
||||
Data [12]int8
|
||||
raw RawSockaddrDatalink
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user