diff --git a/redirect_win.go b/redirect_win.go index 848b70b..ab184b7 100644 --- a/redirect_win.go +++ b/redirect_win.go @@ -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()