mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-07-02 17:29:54 +00:00
fix: udp stub
This commit is contained in:
parent
d92ac5df6e
commit
2ed60ba402
@ -15,7 +15,7 @@ var ErrTimeout = errors.New("inactivity timeout")
|
||||
type UDPTProxy struct{}
|
||||
|
||||
func NewUDPTProxy(hyClient *core.Client, listen string, timeout time.Duration,
|
||||
connFunc func(addr net.Addr), errorFunc func(addr net.Addr, err error)) (*UDPTProxy, error) {
|
||||
connFunc func(addr, reqAddr net.Addr), errorFunc func(addr, reqAddr net.Addr, err error)) (*UDPTProxy, error) {
|
||||
return nil, errors.New("not supported on the current system")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user