Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
use the address of the message received
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Albisson authored and Damien Albisson committed May 21, 2024
1 parent 391b6d1 commit 65294c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ Future<List<(String, int, String)>> platformDiscovery() async {
if (platformName != null && brokerAddr != null && brokerPort != null) {
// Get addr, port and platform name
// if (!ipPort.contains((datagram.address, datagram.port, platformName))) ipPort.add((datagram.address, datagram.port, platformName));
if (!ipPort.contains((brokerAddr, brokerPort, platformName))) ipPort.add((brokerAddr, brokerPort, platformName));
if (!ipPort.contains((datagram.address.address, brokerPort, platformName))) ipPort.add((datagram.address.address, brokerPort, platformName));
}
}

Expand Down

0 comments on commit 65294c7

Please sign in to comment.