git-svn-id: https://spexeah.com:8443/svn/Asuro@714 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
@ -117,21 +117,8 @@ begin
|
||||
end;
|
||||
end;
|
||||
arp.sendGratuitous;
|
||||
|
||||
CopyIPv4(@Config.Address[0], @Target[0]);
|
||||
for i:=1 to 255 do begin
|
||||
Target[3]:= i;
|
||||
arp.sendRequest(@Target[0]);
|
||||
end;
|
||||
|
||||
// context:= newPacketContext;
|
||||
// CopyIPv4(@Config.Gateway[0], @context^.IP.Destination[0]);
|
||||
// CopyIPv4(@Config.Address[0], @context^.IP.Source[0]);
|
||||
// CopyMAC(GetMAC, @context^.MAC.Source[0]);
|
||||
// //copyMAC(@FORCE_MAC[0], @context^.MAC.Source[0]);
|
||||
// CopyMAC(@BROADCAST_MAC[0], @context^.MAC.Destination[0]);
|
||||
// arp.send($1, $0800, $1, context);
|
||||
// freePacketContext(context);
|
||||
CopyIPv4(@Config.Gateway[0], @Target[0]);
|
||||
arp.sendRequest(@Target[0]);
|
||||
end else begin
|
||||
writestringWND(' MAC: ', getTerminalHWND);
|
||||
writeMACAddress(net.GetMAC, getTerminalHWND);
|
||||
|
Reference in New Issue
Block a user