Browse Source

Merge remote branch 'origin/trac430'

Jelte Jansen 14 years ago
parent
commit
ec3e659ad1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/asiolink/udpdns.cc

+ 1 - 1
src/lib/asiolink/udpdns.cc

@@ -69,7 +69,7 @@ UDPServer::UDPServer(io_service& io_service,
     if (addr.is_v6()) {
         socket_->set_option(asio::ip::v6_only(true));
     }
-    socket_->bind(udp::endpoint(proto, port));
+    socket_->bind(udp::endpoint(addr, port));
 }
 
 /// The function operator is implemented with the "stackless coroutine"