fix compile error for non-linux

This commit is contained in:
ginuerzh 2022-04-02 21:38:39 +08:00
parent ba2cd11fbe
commit eef1b9176f

View File

@ -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")
}