mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-18 07:11:45 +00:00
fix: udp stub
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user