Ticket #298: diff

File diff, 464 bytes (added by jinmei, 9 years ago)
  • asio_link.cc

     
    368368        dns_message_(Message::PARSE),
    369369        custom_callback_(NULL)
    370370    {
     371        socket_.set_option(socket_base::reuse_address(true));
    371372        // Set v6-only (we use a different instantiation for v4,
    372373        // otherwise asio will bind to both v4 and v6
    373374        if (addr.is_v6()) {