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

Merge branch 'SoftEtherVPN:master' into master

This commit is contained in:
weidi
2021-12-26 11:51:55 +01:00
committed by GitHub
6 changed files with 250 additions and 8 deletions

View File

@ -91,7 +91,7 @@ struct IP
#define CmpIpAddr(ip1, ip2) (Cmp((ip1)->address, (ip2)->address, sizeof((ip1)->address)))
#define IsIP6(ip) (IsIP4(ip) == false)
#define IsIP6(ip) (ip && IsIP4(ip) == false)
#define IsZeroIp(ip) (IsZeroIP(ip))
// IPv6 address (different format)