Skip to content

Commit

Permalink
networkDiagnostics order: port mapping detection independent of ip ad…
Browse files Browse the repository at this point in the history
…dress
  • Loading branch information
jmlee337 committed Sep 29, 2023
1 parent b269b5a commit 294e8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/networkDiagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export async function getNetworkDiagnostics(): Promise<{
let portMapping = { upnp: Presence.FAILED, natpmp: Presence.FAILED };
let cgnat = Presence.FAILED;
try {
({ address, natType } = await getNatType());
portMapping = await getPortMappingPresence();
({ address, natType } = await getNatType());
cgnat = await getCgnatPresence(address);
} catch (err) {
// just return what we have
Expand Down

0 comments on commit 294e8d2

Please sign in to comment.