Fix: interface nil check panic from previous commit
This commit is contained in:
parent
3317beb191
commit
d47aef7bae
1 changed files with 9 additions and 9 deletions
|
@ -20,15 +20,15 @@ var (
|
||||||
allowLan = false
|
allowLan = false
|
||||||
bindAddress = "*"
|
bindAddress = "*"
|
||||||
|
|
||||||
socksListener C.Listener
|
socksListener *socks.Listener
|
||||||
socksUDPListener C.Listener
|
socksUDPListener *socks.UDPListener
|
||||||
httpListener C.Listener
|
httpListener *http.Listener
|
||||||
redirListener C.Listener
|
redirListener *redir.Listener
|
||||||
redirUDPListener C.Listener
|
redirUDPListener *tproxy.UDPListener
|
||||||
tproxyListener C.Listener
|
tproxyListener *tproxy.Listener
|
||||||
tproxyUDPListener C.Listener
|
tproxyUDPListener *tproxy.UDPListener
|
||||||
mixedListener C.Listener
|
mixedListener *mixed.Listener
|
||||||
mixedUDPLister C.Listener
|
mixedUDPLister *socks.UDPListener
|
||||||
|
|
||||||
// lock for recreate function
|
// lock for recreate function
|
||||||
socksMux sync.Mutex
|
socksMux sync.Mutex
|
||||||
|
|
Loading…
Reference in a new issue