mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-13 19:24:57 +03:00
v4.12-9514-beta
This commit is contained in:
@ -1031,7 +1031,7 @@ void L3PollingBeacon(L3IF *f)
|
||||
|
||||
Copy(udp_buf + sizeof(IPV4_HEADER) + sizeof(UDP_HEADER), beacon_str, sizeof(beacon_str));
|
||||
|
||||
udp->Checksum = IpChecksum(udp, sizeof(UDP_HEADER) + sizeof(beacon_str));
|
||||
udp->Checksum = CalcChecksumForIPv4(f->IpAddress, dest_ip, 0x11, udp, sizeof(UDP_HEADER) + sizeof(beacon_str), 0);
|
||||
|
||||
ip->DstIP = dest_ip;
|
||||
IPV4_SET_VERSION(ip, 4);
|
||||
|
Reference in New Issue
Block a user