Added local address commands for inet/inet6.

This commit is contained in:
Jari Sundell
2025-10-13 12:09:20 +02:00
committed by GitHub
parent 2be730e4b3
commit 891a6ba69d
4 changed files with 14 additions and 100 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ print_status_info(char* first, char* last) {
first = print_buffer(first, last, " [Port: %i]", (unsigned int)torrent::config::network_config()->listen_port());
auto local_address = torrent::config::network_config()->local_address();
auto local_address = torrent::config::network_config()->local_address_best_match();
if (!torrent::sa_is_any(local_address.get())) {
first = print_buffer(first, last, " [Local ");