Skip to content

Commit

Permalink
Merge pull request mavlink#6672 from Vavooon/master
Browse files Browse the repository at this point in the history
Update hosts list on UDP Configuration creation
  • Loading branch information
DonLakeFlyer authored Jul 6, 2018
2 parents 40d3d6f + 827d86a commit 5c73f59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/comm/UDPLink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ void UDPConfiguration::_copyFrom(LinkConfiguration *source)
if(!contains_target(_targetHosts, target->address, target->port)) {
UDPCLient* newTarget = new UDPCLient(target);
_targetHosts.append(newTarget);
_updateHostList();
}
}
} else {
Expand Down

0 comments on commit 5c73f59

Please sign in to comment.