Skip to content

Commit

Permalink
fix: adb-server-node-tcp returns incorrect reverse tunnel address (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
18506711722 authored Aug 20, 2024
1 parent 33823df commit 835796e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/adb-server-node-tcp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class AdbServerNodeTcpConnector

if (!address) {
const info = server.address() as AddressInfo;
address = `tcp:${info.address}:${info.port}`;
address = `tcp:${info.port}`;
}

this.#listeners.set(address, server);
Expand Down

0 comments on commit 835796e

Please sign in to comment.