mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 19:39:53 +03:00
Compare commits
3 Commits
553e8d113f
...
f6513a91e3
Author | SHA1 | Date | |
---|---|---|---|
|
f6513a91e3 | ||
|
36456e63a6 | ||
|
4e4bd79ad2 |
@ -1537,7 +1537,8 @@ void IPCProcessL3EventsEx(IPC *ipc, UINT64 now)
|
|||||||
// Remove link-layer address options for Windows clients (required on Windows 11)
|
// Remove link-layer address options for Windows clients (required on Windows 11)
|
||||||
if (header_size > 0)
|
if (header_size > 0)
|
||||||
{
|
{
|
||||||
UCHAR *src = p->ICMPv6HeaderPacketInfo.Headers.HeaderPointer + header_size;
|
//UCHAR *src = p->ICMPv6HeaderPacketInfo.Headers.HeaderPointer + header_size;
|
||||||
|
UCHAR* src = (UCHAR *)p->ICMPv6HeaderPacketInfo.Headers.HeaderPointer + header_size;// Cast the pointer to UCHAR *.
|
||||||
UINT opt_size = p->ICMPv6HeaderPacketInfo.DataSize - header_size;
|
UINT opt_size = p->ICMPv6HeaderPacketInfo.DataSize - header_size;
|
||||||
UCHAR *dst = src;
|
UCHAR *dst = src;
|
||||||
UINT removed = 0;
|
UINT removed = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user