diff --git a/listener/redirect/udp/listener_other.go b/listener/redirect/udp/listener_other.go index 82a93ff..eedd4ec 100644 --- a/listener/redirect/udp/listener_other.go +++ b/listener/redirect/udp/listener_other.go @@ -7,7 +7,7 @@ import ( "net" ) -func (l *redirectListener) listenUDP(addr *net.UDPAddr) (*net.UDPConn, error) { +func (l *redirectListener) listenUDP(addr string) (*net.UDPConn, error) { return nil, errors.New("UDP redirect is not available on non-linux platform") }