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

This commit is contained in:
kieron
2018-05-10 14:00:36 +00:00
parent 69c3ed24b3
commit 88e5f04c74
12 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ begin
push_trace('eth2.send');
writeToLogLn(' L2: eth2.send');
if p_context <> nil then begin
size:= pad + p_len + sizeof(TEthernetHeader) + pad;
size:= pad + p_len + sizeof(TEthernetHeader);
buffer:= kalloc(size);
copyMAC(@p_context^.MAC.Source[0], @hdr.src[0]);
copyMAC(@p_context^.MAC.Destination[0], @hdr.dst[0]);