mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-09-26 00:24:08 +00:00
Fix github.com/v2fly/v2ray-core/issues/146
This commit is contained in:
parent
e55fdda5b1
commit
c973b5a484
@ -229,6 +229,7 @@ func New(ctx context.Context, config *Config) (*Server, error) {
|
|||||||
|
|
||||||
if len(server.clients) == 0 {
|
if len(server.clients) == 0 {
|
||||||
server.clients = append(server.clients, NewLocalNameServer())
|
server.clients = append(server.clients, NewLocalNameServer())
|
||||||
|
server.ipIndexMap = append(server.ipIndexMap, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
return server, nil
|
return server, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user