mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-04 04:52:39 +08:00
[feat] add IPv6 support for direct IP connections, refs #129
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#endif
|
||||
|
||||
#include "localization.h"
|
||||
#include "network/lan/lan_identity.h"
|
||||
#include "rd_log.h"
|
||||
#include "runtime/gui_runtime.h"
|
||||
|
||||
@@ -742,7 +743,7 @@ std::string SettingsManager::RecentConnectionDisplayName(
|
||||
return connection.remote_host_name;
|
||||
}
|
||||
if (!connection.lan.device_id.empty())
|
||||
return connection.lan.address + ":" + std::to_string(connection.lan.port);
|
||||
return lan::FormatEndpoint(connection.lan.address, connection.lan.port);
|
||||
return connection.remote_id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user