git-svn-id: https://spexeah.com:8443/svn/Asuro@708 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
@ -43,11 +43,11 @@ var
|
||||
|
||||
begin
|
||||
pad:= 46 - p_len;
|
||||
if pad < 0 then pad:= 0;
|
||||
if pad < 0 then pad:= 4;
|
||||
push_trace('eth2.send');
|
||||
writeToLogLn(' L2: eth2.send');
|
||||
if p_context <> nil then begin
|
||||
size:= sizeof(TEthernetHeader) + p_len + pad + 4;
|
||||
size:= sizeof(TEthernetHeader) + p_len + pad;
|
||||
buffer:= kalloc(size);
|
||||
copyMAC(@p_context^.MAC.Source[0], @hdr.src[0]);
|
||||
copyMAC(@p_context^.MAC.Destination[0], @hdr.dst[0]);
|
||||
|
@ -16,7 +16,7 @@ const
|
||||
NASM_VERSION = '2.10.09';
|
||||
MAKE_VERSION = '3.81';
|
||||
COMPILE_DATE = '10/05/18';
|
||||
COMPILE_TIME = '16:38:23';
|
||||
COMPILE_TIME = '16:55:57';
|
||||
|
||||
implementation
|
||||
|
||||
|
Reference in New Issue
Block a user