Added 'network.bind_address.ipv{4,6}.set' commands.

This commit is contained in:
Jari Sundell
2025-10-04 13:24:08 +02:00
committed by GitHub
parent 946dc54f9b
commit bf53700f97
5 changed files with 51 additions and 2 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ print_status_info(char* first, char* last) {
if (first > last)
throw torrent::internal_error("print_status_info(...) wrote past end of the buffer.");
auto bind_address = torrent::config::network_config()->bind_address();
auto bind_address = torrent::config::network_config()->bind_address_best_match();
if (!torrent::sa_is_any(bind_address.get())) {
first = print_buffer(first, last, " [Bind ");