1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-12-17 23:51:31 +03:00

Fix IPv6 address display in session info dialog

This commit is contained in:
Yihong Wu
2021-12-07 15:48:32 +08:00
parent a9239a6aab
commit 14f5854ecf
3 changed files with 3 additions and 3 deletions

View File

@ -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);