aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/transport/udp_simple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/udp_simple.cpp b/host/lib/transport/udp_simple.cpp
index 27d8ba29f..e3936afc2 100644
--- a/host/lib/transport/udp_simple.cpp
+++ b/host/lib/transport/udp_simple.cpp
@@ -25,7 +25,8 @@ public:
//resolve the address
asio::ip::udp::resolver resolver(_io_service);
- asio::ip::udp::resolver::query query(asio::ip::udp::v4(), addr, port);
+ asio::ip::udp::resolver::query query(asio::ip::udp::v4(), addr, port,
+ asio::ip::resolver_query_base::all_matching);
_send_endpoint = *resolver.resolve(query);
//create and open the socket