syscall: add IPv6 scope zone ID support

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4515124
This commit is contained in:
Mikio Hara 2011-05-22 10:09:07 -07:00 committed by Brad Fitzpatrick
parent 8c6dc5fea5
commit 12104807de
3 changed files with 15 additions and 8 deletions

View file

@ -536,8 +536,9 @@ func (sa *SockaddrInet4) sockaddr() (uintptr, int32, int) {
}
type SockaddrInet6 struct {
Port int
Addr [16]byte
Port int
ZoneId uint32
Addr [16]byte
}
func (sa *SockaddrInet6) sockaddr() (uintptr, int32, int) {