git-svn-id: https://spexeah.com:8443/svn/Asuro@921 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c

This commit is contained in:
kieron
2020-07-09 21:35:08 +00:00
parent 7709ec68d1
commit 1f652a3a20
11 changed files with 3 additions and 2 deletions

View File

@ -127,8 +127,9 @@ begin
hdr^.Length:= switchendian16(size);
memcpy(uint32(hdr), uint32(buffer), sizeof(TUDPHeader));
memcpy(uint32(p_data), uint32(buffer + sizeof(TUDPHeader)), p_len);
memcpy(uint32(p_data), uint32(buffer) + sizeof(TUDPHeader), p_len);
writehexln(uint32(buffer) + sizeof(TUDPHeader));
for i:=0 to p_len-1 do begin
writehexpair(puint8(p_data)[i]);
end;