diff --git a/listener/listener.go b/listener/listener.go index f9fffdf4..d20af99d 100644 --- a/listener/listener.go +++ b/listener/listener.go @@ -20,15 +20,15 @@ var ( allowLan = false bindAddress = "*" - socksListener C.Listener - socksUDPListener C.Listener - httpListener C.Listener - redirListener C.Listener - redirUDPListener C.Listener - tproxyListener C.Listener - tproxyUDPListener C.Listener - mixedListener C.Listener - mixedUDPLister C.Listener + socksListener *socks.Listener + socksUDPListener *socks.UDPListener + httpListener *http.Listener + redirListener *redir.Listener + redirUDPListener *tproxy.UDPListener + tproxyListener *tproxy.Listener + tproxyUDPListener *tproxy.UDPListener + mixedListener *mixed.Listener + mixedUDPLister *socks.UDPListener // lock for recreate function socksMux sync.Mutex