mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 01:51:29 +00:00
14 lines
210 B
Go
14 lines
210 B
Go
//go:build !linux && !darwin
|
|
|
|
package redir
|
|
|
|
import (
|
|
"net"
|
|
"net/netip"
|
|
"os"
|
|
)
|
|
|
|
func GetOriginalDestination(conn net.Conn) (destination netip.AddrPort, err error) {
|
|
return netip.AddrPort{}, os.ErrInvalid
|
|
}
|