diff options
Diffstat (limited to 'conn/boundif_android.go')
-rw-r--r-- | conn/boundif_android.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conn/boundif_android.go b/conn/boundif_android.go index 2c68d57..8b82bfc 100644 --- a/conn/boundif_android.go +++ b/conn/boundif_android.go @@ -5,7 +5,7 @@ package conn -func (bind *nativeBind) PeekLookAtSocketFd4() (fd int, err error) { +func (bind *StdNetBind) PeekLookAtSocketFd4() (fd int, err error) { sysconn, err := bind.ipv4.SyscallConn() if err != nil { return -1, err @@ -19,7 +19,7 @@ func (bind *nativeBind) PeekLookAtSocketFd4() (fd int, err error) { return } -func (bind *nativeBind) PeekLookAtSocketFd6() (fd int, err error) { +func (bind *StdNetBind) PeekLookAtSocketFd6() (fd int, err error) { sysconn, err := bind.ipv6.SyscallConn() if err != nil { return -1, err |