1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-06 07:44:57 +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

@ -14861,7 +14861,7 @@ SOCK *NewSock()
UINT IPToUINT(IP *ip)
{
// Validate arguments
if (ip == NULL)
if (ip == NULL || IsIP6(ip))
{
return 0;
}