Explorar el Código

Fix github.com/v2fly/v2ray-core/issues/146

Vigilans hace 5 años
padre
commit
c973b5a484
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/dns/server.go

+ 1 - 0
app/dns/server.go

@@ -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