Skip to content

Commit

Permalink
Fix local and remote UDP socket launch when the IP is the same
Browse files Browse the repository at this point in the history
  • Loading branch information
Toni-SM committed Aug 19, 2022
1 parent 82f5512 commit f9299b5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export function activate(context: vscode.ExtensionContext) {

// UDP clients for carb.log_*
logCarb('127.0.0.1', localSocketPort, outputChannelCarb);
logCarb(remoteSocketIp, localSocketPort, outputChannelCarb);
if (remoteSocketIp != '127.0.0.1' && remoteSocketIp != 'localhost') {
logCarb(remoteSocketIp, localSocketPort, outputChannelCarb);
}
}

// Local execution
Expand Down

0 comments on commit f9299b5

Please sign in to comment.