LLAPITransport: fix localhost connections

This commit is contained in:
vis2k 2019-02-02 11:08:20 +01:00
parent 1cc125d6c6
commit de4b08d066

View File

@ -93,6 +93,9 @@ public override bool ClientConnected()
public override void ClientConnect(string address) public override void ClientConnect(string address)
{ {
// LLAPI can't handle 'localhost'
if (address.ToLower() == "localhost") address = "127.0.0.1";
HostTopology hostTopology = new HostTopology(connectionConfig, 1); HostTopology hostTopology = new HostTopology(connectionConfig, 1);
// important: // important: