mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-07-06 11:19:51 +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{}
|
type UDPTProxy struct{}
|
||||||
|
|
||||||
func NewUDPTProxy(hyClient *core.Client, listen string, timeout time.Duration,
|
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")
|
return nil, errors.New("not supported on the current system")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user