DHCP Works now.
git-svn-id: https://spexeah.com:8443/svn/Asuro@1034 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
46cb414b43
commit
fbc59a1617
12 files changed
+389
-166
No files matched your search
@@ -118,12 +118,10 @@ var
|
||||
Handle : uint8;
|
||||
|
||||
begin
|
||||
writeToLogLn(' L4: icmp.recv');
|
||||
Header:= PICMPHeader(p_data);
|
||||
//writehexlnWND(Header^.ICMP_Type, getTerminalHWND);
|
||||
case Header^.ICMP_Type of
|
||||
$08:Begin //Request
|
||||
writeToLogLn(' L4: icmp.request');
|
||||
contextMACSwitch(p_context);
|
||||
contextIPv4Switch(p_context);
|
||||
Header^.ICMP_Type:= 0;
|
||||
@@ -137,7 +135,6 @@ begin
|
||||
ipv4.send(p_data, p_len, p_context);
|
||||
end;
|
||||
$00:begin //Reply
|
||||
writeToLogLn(' L4: icmp.reply');
|
||||
Handle:= Header^.Identifier;
|
||||
if (Handle > 0) and (Handle < 256) then begin
|
||||
If Handlers[Handle].Active then begin
|
||||
|
||||
Reference in new issue
Block a user