1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-08 00:34:57 +03:00

Reduce redundant loop

Co-authored-by: Davide Beatrici <github@davidebeatrici.dev>
This commit is contained in:
Yihong Wu
2021-12-04 16:16:22 +08:00
committed by GitHub
parent 9692a8d961
commit b178f26e52
2 changed files with 12 additions and 2 deletions

View File

@ -9892,7 +9892,9 @@ bool HasIPv6Address()
if ((type & IPV6_ADDR_GLOBAL_UNICAST) && ((type & IPV6_ADDR_ZERO) == 0) && ((type & IPV6_ADDR_LOOPBACK) == 0))
{
ret = true;
break;
}
}
}