mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
Fix github.com/v2fly/v2ray-core/issues/146
This commit is contained in:
@@ -229,6 +229,7 @@ func New(ctx context.Context, config *Config) (*Server, error) {
|
||||
|
||||
if len(server.clients) == 0 {
|
||||
server.clients = append(server.clients, NewLocalNameServer())
|
||||
server.ipIndexMap = append(server.ipIndexMap, nil)
|
||||
}
|
||||
|
||||
return server, nil
|
||||
|
||||
Reference in New Issue
Block a user