mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 07:44:57 +03:00
Merge pull request #1511 from domosekai/ipstr
Fix IPv6 address display in session info dialog
This commit is contained in:
@ -14871,7 +14871,7 @@ SOCK *NewSock()
|
||||
UINT IPToUINT(IP *ip)
|
||||
{
|
||||
// Validate arguments
|
||||
if (ip == NULL)
|
||||
if (ip == NULL || IsIP6(ip))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user