git-svn-id: https://spexeah.com:8443/svn/Asuro@720 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
@ -166,8 +166,10 @@ begin
|
||||
{ Process ARP Packet }
|
||||
Merge:= false;
|
||||
CacheElement:= findCacheRecordByIP(@AHeader.Source_Protocol[0]);
|
||||
if CacheElement = nil then CacheElement:= findCacheRecordByMAC(@AHeader.Source_Hardware[0]);
|
||||
if CacheElement <> nil then begin
|
||||
copyMAC(@AHeader.Source_Hardware[0], @CacheElement^.MAC[0]);
|
||||
copyIPv4(@AHeader.Source_Protocol[0], @CacheElement^.IP[0]);
|
||||
Merge:= true;
|
||||
end else begin
|
||||
if IPEqual(@AHeader.Destination_Protocol[0], @getIPv4Config^.Address[0]) then begin
|
||||
|
Reference in New Issue
Block a user