File tree 1 file changed +7
-1
lines changed
src/cpp/rtps/builtin/discovery/participant
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1767,13 +1767,16 @@ void PDP::update_endpoint_locators_if_default_nts(
1767
1767
return ;
1768
1768
}
1769
1769
1770
- // Update proxies of endpoints with no configured locators
1770
+ // Update proxies of endpoints with default configured locators
1771
1771
EDP* edp = get_edp ();
1772
1772
for (BaseWriter* writer : writers)
1773
1773
{
1774
1774
if ((old_default_multicast == writer->getAttributes ().multicastLocatorList ) &&
1775
1775
(old_default_unicast == writer->getAttributes ().unicastLocatorList ))
1776
1776
{
1777
+ writer->getAttributes ().multicastLocatorList = new_default_multicast;
1778
+ writer->getAttributes ().unicastLocatorList = new_default_unicast;
1779
+
1777
1780
WriterProxyData* wdata = nullptr ;
1778
1781
GUID_t participant_guid;
1779
1782
wdata = addWriterProxyData (writer->getGuid (), participant_guid,
@@ -1794,6 +1797,9 @@ void PDP::update_endpoint_locators_if_default_nts(
1794
1797
if ((old_default_multicast == reader->getAttributes ().multicastLocatorList ) &&
1795
1798
(old_default_unicast == reader->getAttributes ().unicastLocatorList ))
1796
1799
{
1800
+ reader->getAttributes ().multicastLocatorList = new_default_multicast;
1801
+ reader->getAttributes ().unicastLocatorList = new_default_unicast;
1802
+
1797
1803
ReaderProxyData* rdata = nullptr ;
1798
1804
GUID_t participant_guid;
1799
1805
rdata = addReaderProxyData (reader->getGuid (), participant_guid,
You can’t perform that action at this time.
0 commit comments