fix compile error for non-linux

This commit is contained in:
ginuerzh committed 2022-04-02 21:38:39 +08:00
1 parent ba2cd11fbe
commit eef1b9176f
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net" "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") return nil, errors.New("UDP redirect is not available on non-linux platform")
} }