mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: add IPv6 scope zone ID support
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4515124
This commit is contained in:
parent
8c6dc5fea5
commit
12104807de
3 changed files with 15 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue