From 835d9c9ef658cf5184543caea4bdaa9dabe3fc7b Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Fri, 9 Jan 2026 11:19:32 +0800 Subject: [PATCH] fixed: unable to display ipv6 address correctly by long pressing host card view --- VoidLink/ViewControllers/MainFrameViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoidLink/ViewControllers/MainFrameViewController.m b/VoidLink/ViewControllers/MainFrameViewController.m index 520368a6..7deba677 100644 --- a/VoidLink/ViewControllers/MainFrameViewController.m +++ b/VoidLink/ViewControllers/MainFrameViewController.m @@ -604,7 +604,7 @@ static NSMutableSet* hostList; Log(LOG_D, @"Long clicked host: %@", host.name); NSString* message; - NSString* hostAddress = [host.activeAddress componentsSeparatedByString:@":"].firstObject; + NSString* hostAddress = [Utils addressPortStringToAddress:host.activeAddress]; switch (host.state) { case StateOffline: