diff options
Diffstat (limited to 'src/core/debugger/debugger.cpp')
| -rw-r--r-- | src/core/debugger/debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp index 8d64990ed..7774ffdef 100644 --- a/src/core/debugger/debugger.cpp +++ b/src/core/debugger/debugger.cpp | |||
| @@ -96,7 +96,7 @@ private: | |||
| 96 | connection_thread = std::jthread([&, port](std::stop_token stop_token) { | 96 | connection_thread = std::jthread([&, port](std::stop_token stop_token) { |
| 97 | try { | 97 | try { |
| 98 | // Initialize the listening socket and accept a new client. | 98 | // Initialize the listening socket and accept a new client. |
| 99 | tcp::endpoint endpoint{boost::asio::ip::address_v4::loopback(), port}; | 99 | tcp::endpoint endpoint{boost::asio::ip::address_v4::any(), port}; |
| 100 | tcp::acceptor acceptor{io_context, endpoint}; | 100 | tcp::acceptor acceptor{io_context, endpoint}; |
| 101 | 101 | ||
| 102 | acceptor.async_accept(client_socket, [](const auto&) {}); | 102 | acceptor.async_accept(client_socket, [](const auto&) {}); |