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

This commit is contained in:
kieron
2018-05-10 12:47:03 +00:00
parent a6e374ec94
commit 24651c0542
12 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ begin
hdr.EthTypeHi:= eth_type SHR 8;
hdr.EthTypeLo:= eth_type AND $FF;
memcpy(uint32(@hdr), uint32(buffer), sizeof(TEthernetHeader));
memcpy(uint32(p_data[0]), uint32(buffer+sizeof(TEthernetHeader)), p_len);
memcpy(uint32(p_data), uint32(buffer)+sizeof(TEthernetHeader), p_len);
net.send(buffer, p_len + sizeof(TEthernetHeader));
kfree(buffer);
end;

View File

@ -16,7 +16,7 @@ const
NASM_VERSION = '2.10.09';
MAKE_VERSION = '3.81';
COMPILE_DATE = '10/05/18';
COMPILE_TIME = '13:44:18';
COMPILE_TIME = '13:47:01';
implementation