mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
feat: improve custom config
This commit is contained in:
@@ -142,6 +142,7 @@ inline QString WrapIPV6Host(QString &str) {
|
||||
}
|
||||
|
||||
inline QString DisplayAddress(QString serverAddress, int serverPort) {
|
||||
if (serverAddress.isEmpty() && serverPort == 0) return {};
|
||||
return WrapIPV6Host(serverAddress) + ":" + Int2String(serverPort);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user