diff options
author | lutzbichler <52852266+lutzbichler@users.noreply.github.com> | 2022-03-15 07:09:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 07:09:46 +0100 |
commit | f013c4ed32da98673c25d648ba224f6ac05d7b8f (patch) | |
tree | 5d004d179023a3efe112f266fcb1ccfcac9bfd6b | |
parent | 880e737b39c9bbaaae8d25ef938cbb91b7b73471 (diff) | |
parent | b2b0f0529cbcb8c697d0d1341fd85fe163dcac1f (diff) | |
download | vSomeIP-f013c4ed32da98673c25d648ba224f6ac05d7b8f.tar.gz |
Merge pull request #272 from luminartech/bugfix/multicast_timeout_crash_on_windows
Fix multicast timeout crash on Windows
-rw-r--r-- | implementation/service_discovery/src/service_discovery_impl.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/implementation/service_discovery/src/service_discovery_impl.cpp b/implementation/service_discovery/src/service_discovery_impl.cpp index 16f0fad..5075cf1 100644 --- a/implementation/service_discovery/src/service_discovery_impl.cpp +++ b/implementation/service_discovery/src/service_discovery_impl.cpp @@ -166,13 +166,8 @@ service_discovery_impl::start() { } if (endpoint_ && !reliable_) { // rejoin multicast group -#ifndef ANDROID - reinterpret_cast<udp_server_endpoint_impl*>( - endpoint_.get())->join(sd_multicast_); -#else dynamic_cast<udp_server_endpoint_impl*>( endpoint_.get())->join(sd_multicast_); -#endif } } is_suspended_ = false; @@ -3351,13 +3346,8 @@ service_discovery_impl::on_last_msg_received_timer_expired( // Rejoin multicast group if (endpoint_ && !reliable_) { -#ifndef ANDROID - reinterpret_cast<udp_server_endpoint_impl*>( - endpoint_.get())->join(sd_multicast_); -#else dynamic_cast<udp_server_endpoint_impl*>( endpoint_.get())->join(sd_multicast_); -#endif } { boost::system::error_code ec; |