fix compile error for non-linux
This commit is contained in:
parent
ba2cd11fbe
commit
eef1b9176f
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user