1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +03:00

Merge pull request #1528 from updatede/patch-1

Mayaqua/Network.h: Fix UDP acceleration under NAT-T connections
This commit is contained in:
Yihong Wu 2021-12-26 12:32:48 +08:00 committed by GitHub
commit adbbe94675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ struct IP
#define CmpIpAddr(ip1, ip2) (Cmp((ip1)->address, (ip2)->address, sizeof((ip1)->address))) #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)) #define IsZeroIp(ip) (IsZeroIP(ip))
// IPv6 address (different format) // IPv6 address (different format)