mirror of
https://github.com/ginuerzh/gost.git
synced 2024-04-21 12:31:34 +00:00
fix build in go-1.10.3 at win (#282)
This commit is contained in:
@@ -25,6 +25,10 @@ func TCPRedirectHandler(opts ...HandlerOption) Handler {
|
||||
return h
|
||||
}
|
||||
|
||||
func (h *tcpRedirectHandler) Init(options ...HandlerOption) {
|
||||
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
|
||||
}
|
||||
|
||||
func (h *tcpRedirectHandler) Handle(c net.Conn) {
|
||||
log.Log("[red-tcp] TCP redirect is not available on the Windows platform")
|
||||
c.Close()
|
||||
|
||||
Reference in New Issue
Block a user