mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
Fix: interface nil check panic from previous commit
This commit is contained in:
parent
1bfebd0d03
commit
588645a2c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user