mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 08:14:58 +03:00
Fix IPv6 address display in session info dialog
This commit is contained in:
@ -18969,7 +18969,7 @@ UINT PsSessionGet(CONSOLE *c, char *cmd_name, wchar_t *str, void *param)
|
||||
char str[MAX_SIZE];
|
||||
CT *ct = CtNewStandard();
|
||||
|
||||
if (t.ClientIp != 0)
|
||||
if (t.ClientIp != 0 || IsZero(t.ClientIp6, sizeof(t.ClientIp6)) == false)
|
||||
{
|
||||
IPToStr4or6(str, sizeof(str), t.ClientIp, t.ClientIp6);
|
||||
StrToUni(tmp, sizeof(tmp), str);
|
||||
|
@ -9614,7 +9614,7 @@ bool SmRefreshSessionStatus(HWND hWnd, SM_SERVER *s, void *param)
|
||||
|
||||
b = LvInsertStart();
|
||||
|
||||
if (t.ClientIp != 0)
|
||||
if (t.ClientIp != 0 || IsZero(t.ClientIp6, sizeof(t.ClientIp6)) == false)
|
||||
{
|
||||
IPToStr4or6(str, sizeof(str), t.ClientIp, t.ClientIp6);
|
||||
StrToUni(tmp, sizeof(tmp), str);
|
||||
|
Reference in New Issue
Block a user