1
0
mirror of https://github.com/golang/go synced 2024-11-13 17:20:22 -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:
Joel Sing 2012-05-21 00:13:22 +10:00
parent 4973c1fc7e
commit 67a0c4f7f9

View File

@ -22,7 +22,7 @@ type SockaddrDatalink struct {
Nlen uint8 Nlen uint8
Alen uint8 Alen uint8
Slen uint8 Slen uint8
Data [24]int8 Data [12]int8
raw RawSockaddrDatalink raw RawSockaddrDatalink
} }